Amazon Linux AMI : php56 (ALAS-2015-585) (BACKRONYM)

critical Nessus Plugin ID 85458

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

PHP process crashes when processing an invalid file with the 'phar' extension. (CVE-2015-5589)

As discussed upstream, mysqlnd is vulnerable to the attack described in https://www.duosecurity.com/blog/backronym-mysql-vulnerability.
(CVE-2015-3152)

PHP versions before 5.5.27 and 5.4.43 contain buffer overflow issue.
(CVE-2015-5590)

A flaw was discovered in the way PHP performed object unserialization.
Specially crafted input processed by the unserialize() function could cause a PHP application to crash or, possibly, execute arbitrary code.
(CVE-2015-6831 , CVE-2015-6832)

A flaw was found in the way the way PHP's Phar extension parsed Phar archives. A specially crafted archive could cause PHP to crash or, possibly, execute arbitrary code when opened. (CVE-2015-6833)

Solution

Run 'yum update php56' to update your system.

See Also

https://bugs.php.net/bug.php?id=69669

https://www.duosecurity.com/blog/backronym-mysql-vulnerability

https://alas.aws.amazon.com/ALAS-2015-585.html

Plugin Details

Severity: Critical

ID: 85458

File Name: ala_ALAS-2015-585.nasl

Version: 2.10

Type: local

Agent: unix

Published: 8/18/2015

Updated: 4/18/2018

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:php56-imap, p-cpe:/a:amazon:linux:php56-mysqlnd, p-cpe:/a:amazon:linux:php56-opcache, p-cpe:/a:amazon:linux:php56-recode, p-cpe:/a:amazon:linux:php56-xml, p-cpe:/a:amazon:linux:php56-fpm, p-cpe:/a:amazon:linux:php56-bcmath, p-cpe:/a:amazon:linux:php56-mssql, p-cpe:/a:amazon:linux:php56-dbg, p-cpe:/a:amazon:linux:php56-embedded, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:php56-tidy, p-cpe:/a:amazon:linux:php56-intl, p-cpe:/a:amazon:linux:php56-pgsql, p-cpe:/a:amazon:linux:php56-gmp, p-cpe:/a:amazon:linux:php56-enchant, p-cpe:/a:amazon:linux:php56-mcrypt, p-cpe:/a:amazon:linux:php56-odbc, p-cpe:/a:amazon:linux:php56-pspell, p-cpe:/a:amazon:linux:php56-soap, p-cpe:/a:amazon:linux:php56-process, p-cpe:/a:amazon:linux:php56-cli, p-cpe:/a:amazon:linux:php56-dba, p-cpe:/a:amazon:linux:php56-xmlrpc, p-cpe:/a:amazon:linux:php56-gd, p-cpe:/a:amazon:linux:php56-mbstring, p-cpe:/a:amazon:linux:php56-devel, p-cpe:/a:amazon:linux:php56-ldap, p-cpe:/a:amazon:linux:php56-snmp, p-cpe:/a:amazon:linux:php56-debuginfo, p-cpe:/a:amazon:linux:php56, p-cpe:/a:amazon:linux:php56-pdo, p-cpe:/a:amazon:linux:php56-common

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Patch Publication Date: 8/17/2015

Reference Information

CVE: CVE-2015-3152, CVE-2015-5589, CVE-2015-5590, CVE-2015-6831, CVE-2015-6832, CVE-2015-6833

ALAS: 2015-585