Amazon Linux AMI : php55 (ALAS-2014-372)

high Nessus Plugin ID 78315

Synopsis

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

Description

acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file.

A denial of service flaw was found in the way the File Information (fileinfo) extension parsed certain Composite Document Format (CDF) files. A remote attacker could use this flaw to crash a PHP application using fileinfo via a specially crafted CDF file.

A type confusion issue was found in the SPL ArrayObject and SPLObjectStorage classes' unserialize() method. A remote attacker able to submit specially crafted input to a PHP application, which would then unserialize this input using one of the aforementioned methods, could use this flaw to execute arbitrary code with the privileges of the user running that PHP application.

Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, allows remote attackers to cause a denial of service (application crash) via a crafted Pascal string in a FILE_PSTRING conversion.

A heap-based buffer overflow flaw was found in the way PHP parsed DNS TXT records. A malicious DNS server or a man-in-the-middle attacker could possibly use this flaw to execute arbitrary code as the PHP interpreter if a PHP application used the dns_get_record() function to perform a DNS query.

Solution

Run 'yum update php55' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2014-372.html

Plugin Details

Severity: High

ID: 78315

File Name: ala_ALAS-2014-372.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/12/2014

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: High

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:php55-xml, p-cpe:/a:amazon:linux:php55-ldap, p-cpe:/a:amazon:linux:php55-mssql, p-cpe:/a:amazon:linux:php55-xmlrpc, p-cpe:/a:amazon:linux:php55-enchant, p-cpe:/a:amazon:linux:php55-mcrypt, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:php55-cli, p-cpe:/a:amazon:linux:php55-imap, p-cpe:/a:amazon:linux:php55-intl, p-cpe:/a:amazon:linux:php55-dba, p-cpe:/a:amazon:linux:php55-process, p-cpe:/a:amazon:linux:php55-recode, p-cpe:/a:amazon:linux:php55-snmp, p-cpe:/a:amazon:linux:php55-pspell, p-cpe:/a:amazon:linux:php55-pdo, p-cpe:/a:amazon:linux:php55-soap, p-cpe:/a:amazon:linux:php55-fpm, p-cpe:/a:amazon:linux:php55-opcache, p-cpe:/a:amazon:linux:php55-pgsql, p-cpe:/a:amazon:linux:php55-mysqlnd, p-cpe:/a:amazon:linux:php55-devel, p-cpe:/a:amazon:linux:php55-bcmath, p-cpe:/a:amazon:linux:php55, p-cpe:/a:amazon:linux:php55-gd, p-cpe:/a:amazon:linux:php55-gmp, p-cpe:/a:amazon:linux:php55-embedded, p-cpe:/a:amazon:linux:php55-mbstring, p-cpe:/a:amazon:linux:php55-odbc, p-cpe:/a:amazon:linux:php55-debuginfo, p-cpe:/a:amazon:linux:php55-tidy, p-cpe:/a:amazon:linux:php55-common

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

Patch Publication Date: 7/9/2014

Reference Information

CVE: CVE-2014-0207, CVE-2014-3478, CVE-2014-3479, CVE-2014-3480, CVE-2014-3487, CVE-2014-3515, CVE-2014-3981, CVE-2014-4049

ALAS: 2014-372