Amazon Linux AMI update for php54



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2013-6420
CWE-ID CWE-119
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU16076

Risk: High

CVSSv4.0: 8.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2013-6420

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when the asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates. A remote attacker can supply specially crafted X.509 certificates, trigger memory corruption and cause the service to crash or execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

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

src:
    php54-5.4.23-1.49.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2013-263.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###