Amazon Linux AMI : php (ALAS-2012-37)

medium Nessus Plugin ID 69644
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: 5.7

Synopsis

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

Description

It was found that the hashing routine used by PHP arrays was susceptible to predictable hash collisions. If an HTTP POST request to a PHP application contained many parameters whose names map to the same hash value, a large amount of CPU time would be consumed. This flaw has been mitigated by adding a new configuration directive, max_input_vars, that limits the maximum number of parameters processed per request. By default, max_input_vars is set to 1000.
(CVE-2011-4885)

An integer overflow flaw was found in the PHP exif extension. On 32-bit systems, a specially crafted image file could cause the PHP interpreter to crash or disclose portions of its memory when a PHP script tries to extract Exchangeable image file format (Exif) metadata from the image file. (CVE-2011-4566)

Solution

Run 'yum update php' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2012-37.html

Plugin Details

Severity: Medium

ID: 69644

File Name: ala_ALAS-2012-37.nasl

Version: 1.13

Type: local

Agent: unix

Published: 9/4/2013

Updated: 10/16/2019

Dependencies: ssh_get_info.nasl

Risk Information

Risk Factor: Medium

VPR Score: 5.7

CVSS v2.0

Base Score: 6.4

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

Vulnerability Information

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

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: 9/14/2014

Vulnerability Publication Date: 11/28/2011

Exploitable With

Core Impact

Reference Information

CVE: CVE-2011-4566, CVE-2011-4885

RHSA: 2012:0019

ALAS: 2012-37