CVE-2013-6420
HIGH
7.5
CVSS 2.0
Description
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, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.
Affected products and versions
- PHP — Up to and including 5.3.27
- PHP versions 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.5, 5.3.6, 5.3.7, 5.3.8, 5.3.9, 5.3.10, 5.3.11, 5.3.12, 5.3.13, 5.3.14, 5.3.15, 5.3.16, 5.3.17, 5.3.18, 5.3.19, 5.3.20, 5.3.21, 5.3.22, 5.3.23, 5.3.24, 5.3.25, 5.3.26, 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.4.4, 5.4.5, 5.4.6, 5.4.7, 5.4.8, 5.4.9, 5.4.10, 5.4.11, 5.4.12, 5.4.12rc1, 5.4.12rc2, 5.4.13, 5.4.13rc1, 5.4.14, 5.4.14rc1, 5.4.15, 5.4.15rc1, 5.4.16, 5.4.16rc1, 5.4.17, 5.4.18, 5.4.19, 5.4.20, 5.4.21, 5.4.22, 5.5.0, 5.5.0alpha1, 5.5.0alpha2, 5.5.0alpha3, 5.5.0alpha4, 5.5.0alpha5, 5.5.0alpha6, 5.5.0beta1, 5.5.0beta2, 5.5.0beta3, 5.5.0beta4, 5.5.0rc1, 5.5.0rc2, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 5.5.6
References
- forums.interworx.com http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
- git.php.net http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1813.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1815.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1824.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1825.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1826.html
- secunia.com http://secunia.com/advisories/59652
- support.apple.com http://support.apple.com/kb/HT6150
- www.debian.org http://www.debian.org/security/2013/dsa-2816
- www.php.net http://www.php.net/ChangeLog-5.php
- www.securityfocus.com http://www.securityfocus.com/bid/64225
- www.securitytracker.com http://www.securitytracker.com/id/1029472
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2055-1
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1036830 Patch
- h20564.www2.hp.com https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
- www.sektioneins.de https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html Exploit
- nvd.nist.gov Official NVD record