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

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

Integer overflow in the phar_parse_tarfile function in tar.c in the
phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows
remote attackers to cause a denial of service (application crash) or
possibly execute arbitrary code via a crafted tar file that triggers a
heap-based buffer overflow.

The crypt_des (aka DES-based crypt) function in FreeBSD before
9.0-RELEASE-p2, as used in PHP, PostgreSQL, and other products, does
not process the complete cleartext password if this password contains
a 0x80 character, which makes it easier for context-dependent
attackers to obtain access via an authentication attempt with an
initial substring of the intended password, as demonstrated by a
Unicode password.

See also :

http://www.nessus.org/u?d62dd399

Solution :

Run 'yum update php' to update your system.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Amazon Linux Local Security Checks

Nessus Plugin ID: 69702 ()

Bugtraq ID:

CVE ID: CVE-2012-2143
CVE-2012-2386