ALAS-2014-372


Amazon Linux 1 Security Advisory: ALAS-2014-372
Advisory Release Date: 2014-07-09 16:42 Pacific
Advisory Updated Date: 2014-09-19 10:36 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:

php55


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

New Packages:
i686:
    php55-mysqlnd-5.5.14-1.75.amzn1.i686
    php55-soap-5.5.14-1.75.amzn1.i686
    php55-embedded-5.5.14-1.75.amzn1.i686
    php55-xml-5.5.14-1.75.amzn1.i686
    php55-intl-5.5.14-1.75.amzn1.i686
    php55-recode-5.5.14-1.75.amzn1.i686
    php55-mssql-5.5.14-1.75.amzn1.i686
    php55-odbc-5.5.14-1.75.amzn1.i686
    php55-dba-5.5.14-1.75.amzn1.i686
    php55-imap-5.5.14-1.75.amzn1.i686
    php55-enchant-5.5.14-1.75.amzn1.i686
    php55-gmp-5.5.14-1.75.amzn1.i686
    php55-5.5.14-1.75.amzn1.i686
    php55-debuginfo-5.5.14-1.75.amzn1.i686
    php55-common-5.5.14-1.75.amzn1.i686
    php55-bcmath-5.5.14-1.75.amzn1.i686
    php55-xmlrpc-5.5.14-1.75.amzn1.i686
    php55-tidy-5.5.14-1.75.amzn1.i686
    php55-pgsql-5.5.14-1.75.amzn1.i686
    php55-pdo-5.5.14-1.75.amzn1.i686
    php55-ldap-5.5.14-1.75.amzn1.i686
    php55-opcache-5.5.14-1.75.amzn1.i686
    php55-snmp-5.5.14-1.75.amzn1.i686
    php55-gd-5.5.14-1.75.amzn1.i686
    php55-pspell-5.5.14-1.75.amzn1.i686
    php55-mcrypt-5.5.14-1.75.amzn1.i686
    php55-mbstring-5.5.14-1.75.amzn1.i686
    php55-devel-5.5.14-1.75.amzn1.i686
    php55-fpm-5.5.14-1.75.amzn1.i686
    php55-cli-5.5.14-1.75.amzn1.i686
    php55-process-5.5.14-1.75.amzn1.i686

src:
    php55-5.5.14-1.75.amzn1.src

x86_64:
    php55-gd-5.5.14-1.75.amzn1.x86_64
    php55-opcache-5.5.14-1.75.amzn1.x86_64
    php55-recode-5.5.14-1.75.amzn1.x86_64
    php55-pdo-5.5.14-1.75.amzn1.x86_64
    php55-common-5.5.14-1.75.amzn1.x86_64
    php55-embedded-5.5.14-1.75.amzn1.x86_64
    php55-intl-5.5.14-1.75.amzn1.x86_64
    php55-gmp-5.5.14-1.75.amzn1.x86_64
    php55-tidy-5.5.14-1.75.amzn1.x86_64
    php55-enchant-5.5.14-1.75.amzn1.x86_64
    php55-cli-5.5.14-1.75.amzn1.x86_64
    php55-snmp-5.5.14-1.75.amzn1.x86_64
    php55-soap-5.5.14-1.75.amzn1.x86_64
    php55-bcmath-5.5.14-1.75.amzn1.x86_64
    php55-xml-5.5.14-1.75.amzn1.x86_64
    php55-imap-5.5.14-1.75.amzn1.x86_64
    php55-devel-5.5.14-1.75.amzn1.x86_64
    php55-5.5.14-1.75.amzn1.x86_64
    php55-mysqlnd-5.5.14-1.75.amzn1.x86_64
    php55-mcrypt-5.5.14-1.75.amzn1.x86_64
    php55-odbc-5.5.14-1.75.amzn1.x86_64
    php55-fpm-5.5.14-1.75.amzn1.x86_64
    php55-process-5.5.14-1.75.amzn1.x86_64
    php55-mbstring-5.5.14-1.75.amzn1.x86_64
    php55-debuginfo-5.5.14-1.75.amzn1.x86_64
    php55-xmlrpc-5.5.14-1.75.amzn1.x86_64
    php55-ldap-5.5.14-1.75.amzn1.x86_64
    php55-dba-5.5.14-1.75.amzn1.x86_64
    php55-pgsql-5.5.14-1.75.amzn1.x86_64
    php55-pspell-5.5.14-1.75.amzn1.x86_64
    php55-mssql-5.5.14-1.75.amzn1.x86_64