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

High Nessus Plugin ID 83973

Synopsis

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

Description

An integer underflow flaw leading to out-of-bounds memory access was found in 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-4021)

An integer overflow flaw leading to a heap based buffer overflow was found in the way PHP's FTP extension parsed file listing FTP server responses. A malicious FTP server could use this flaw to cause a PHP application to crash or, possibly, execute arbitrary code.
(CVE-2015-4022)

A flaw was found in the way PHP parsed multipart HTTP POST requests. A specially crafted request could cause PHP to use an excessive amount of CPU time. (CVE-2015-4024)

It was found that certain PHP functions did not properly handle file names containing a NULL character. A remote attacker could possibly use this flaw to make a PHP script access unexpected files and bypass intended file system access restrictions. (CVE-2015-4025)

It was found that certain PHP functions did not properly handle file names containing a NULL character. A remote attacker could possibly use this flaw to make a PHP script access unexpected files and bypass intended file system access restrictions. (CVE-2015-4026)

PCRE library is prone to a heap overflow vulnerability. Due to insufficient bounds checking inside compile_branch(), the heap memory could be overflowed via a crafted regular expression. Since PCRE library is widely used, this vulnerability should affect many applications using it. An attacker may exploit this issue to execute arbitrary code in the context of the user running the affected application. (CVE-2015-2325)

PCRE library is prone to a vulnerability which leads to Heap overflow.
Without enough bound checking inside pcre_compile2(), the heap memory could be overflowed via a crafted regular expression. Since PCRE library is widely used, this vulnerability should affect many applications. An attacker may exploit this issue to execute arbitrary code in the context of the user running the affected application.
(CVE-2015-2326)

Solution

Run 'yum update php54' to update your system.

See Also

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

Plugin Details

Severity: High

ID: 83973

File Name: ala_ALAS-2015-534.nasl

Version: 2.3

Type: local

Agent: unix

Published: 2015/06/04

Updated: 2018/04/18

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

Vulnerability Information

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

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

Patch Publication Date: 2015/06/02

Reference Information

CVE: CVE-2015-2325, CVE-2015-2326, CVE-2015-4021, CVE-2015-4022, CVE-2015-4024, CVE-2015-4025, CVE-2015-4026

ALAS: 2015-534