Amazon Linux AMI : php54 (ALAS-2015-506)

high Nessus Plugin ID 82834
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 8.8

Synopsis

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

Description

A use-after-free flaw was found in the way PHP's unserialize() function processed data. If a remote attacker was able to pass crafted input to PHP's unserialize() function, they could cause the PHP interpreter to crash or, possibly, execute arbitrary code.
(CVE-2015-0231)

An integer overflow flaw, leading to a heap-based buffer overflow, was found in the way libzip, which is also embedded in PHP, processed certain ZIP archives. If an attacker were able to supply a specially crafted ZIP archive to an application using libzip, it could cause the application to crash or, possibly, execute arbitrary code.
(CVE-2015-2331)

Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3.8.g5 on 32-bit platforms, as used in NetBSD through 6.1.5 and other products, might allow context-dependent attackers to execute arbitrary code via a large regular expression that leads to a heap-based buffer overflow.
(CVE-2015-2305)

Solution

Run 'yum update php54' to update your system.

See Also

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

Plugin Details

Severity: High

ID: 82834

File Name: ala_ALAS-2015-506.nasl

Version: 1.8

Type: local

Agent: unix

Published: 4/17/2015

Updated: 4/18/2018

Dependencies: ssh_get_info.nasl

Risk Information

Risk Factor: High

VPR Score: 8.8

CVSS v2.0

Base Score: 7.5

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/15/2015

Reference Information

CVE: CVE-2015-2305, CVE-2015-2331, CVE-2015-0231

ALAS: 2015-506