ALAS-2014-367


Amazon Linux AMI Security Advisory: ALAS-2014-367
Advisory Release Date: 2014-09-19 10:32 Pacific
Severity: Medium

Issue Overview:

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.


Affected Packages:

php54


Issue Correction:
Run yum update php54 to update your system.

New Packages:
i686:
    php54-gd-5.4.30-1.56.amzn1.i686
    php54-intl-5.4.30-1.56.amzn1.i686
    php54-snmp-5.4.30-1.56.amzn1.i686
    php54-mysqlnd-5.4.30-1.56.amzn1.i686
    php54-bcmath-5.4.30-1.56.amzn1.i686
    php54-mbstring-5.4.30-1.56.amzn1.i686
    php54-embedded-5.4.30-1.56.amzn1.i686
    php54-xml-5.4.30-1.56.amzn1.i686
    php54-xmlrpc-5.4.30-1.56.amzn1.i686
    php54-debuginfo-5.4.30-1.56.amzn1.i686
    php54-pdo-5.4.30-1.56.amzn1.i686
    php54-dba-5.4.30-1.56.amzn1.i686
    php54-tidy-5.4.30-1.56.amzn1.i686
    php54-imap-5.4.30-1.56.amzn1.i686
    php54-soap-5.4.30-1.56.amzn1.i686
    php54-5.4.30-1.56.amzn1.i686
    php54-enchant-5.4.30-1.56.amzn1.i686
    php54-devel-5.4.30-1.56.amzn1.i686
    php54-fpm-5.4.30-1.56.amzn1.i686
    php54-common-5.4.30-1.56.amzn1.i686
    php54-cli-5.4.30-1.56.amzn1.i686
    php54-mysql-5.4.30-1.56.amzn1.i686
    php54-odbc-5.4.30-1.56.amzn1.i686
    php54-ldap-5.4.30-1.56.amzn1.i686
    php54-pspell-5.4.30-1.56.amzn1.i686
    php54-mssql-5.4.30-1.56.amzn1.i686
    php54-recode-5.4.30-1.56.amzn1.i686
    php54-mcrypt-5.4.30-1.56.amzn1.i686
    php54-pgsql-5.4.30-1.56.amzn1.i686
    php54-process-5.4.30-1.56.amzn1.i686

src:
    php54-5.4.30-1.56.amzn1.src

x86_64:
    php54-mcrypt-5.4.30-1.56.amzn1.x86_64
    php54-ldap-5.4.30-1.56.amzn1.x86_64
    php54-imap-5.4.30-1.56.amzn1.x86_64
    php54-5.4.30-1.56.amzn1.x86_64
    php54-snmp-5.4.30-1.56.amzn1.x86_64
    php54-pdo-5.4.30-1.56.amzn1.x86_64
    php54-pspell-5.4.30-1.56.amzn1.x86_64
    php54-dba-5.4.30-1.56.amzn1.x86_64
    php54-embedded-5.4.30-1.56.amzn1.x86_64
    php54-bcmath-5.4.30-1.56.amzn1.x86_64
    php54-intl-5.4.30-1.56.amzn1.x86_64
    php54-common-5.4.30-1.56.amzn1.x86_64
    php54-xml-5.4.30-1.56.amzn1.x86_64
    php54-fpm-5.4.30-1.56.amzn1.x86_64
    php54-pgsql-5.4.30-1.56.amzn1.x86_64
    php54-cli-5.4.30-1.56.amzn1.x86_64
    php54-process-5.4.30-1.56.amzn1.x86_64
    php54-soap-5.4.30-1.56.amzn1.x86_64
    php54-tidy-5.4.30-1.56.amzn1.x86_64
    php54-recode-5.4.30-1.56.amzn1.x86_64
    php54-gd-5.4.30-1.56.amzn1.x86_64
    php54-enchant-5.4.30-1.56.amzn1.x86_64
    php54-mssql-5.4.30-1.56.amzn1.x86_64
    php54-debuginfo-5.4.30-1.56.amzn1.x86_64
    php54-mysqlnd-5.4.30-1.56.amzn1.x86_64
    php54-odbc-5.4.30-1.56.amzn1.x86_64
    php54-devel-5.4.30-1.56.amzn1.x86_64
    php54-mysql-5.4.30-1.56.amzn1.x86_64
    php54-mbstring-5.4.30-1.56.amzn1.x86_64
    php54-xmlrpc-5.4.30-1.56.amzn1.x86_64