Amazon Linux AMI : php54 (ALAS-2014-367)

High Nessus Plugin ID 78310

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 php54' to update your system.

See Also

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

Plugin Details

Severity: High

ID: 78310

File Name: ala_ALAS-2014-367.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2014/10/12

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: 2014/07/09

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-367