Buffer overflow in Apple Mac OS X
CVE-2013-6420
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.354, 98.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apple Mac OS X
- PHP — versions 5.4.0, 5.4.1, 5.4.2
- openSUSE — versions 11.4, 12.2, 12.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, chnzzh/OpenSSL-CVE-lib, Wikinaut/MySimpleCertificateViewer). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-2816 (vendor-advisory)
- git.php.net/
- RHSA-2013:1824 (vendor-advisory)
- HPSBMU03112 (vendor-advisory)
- openSUSE-SU-2013:1964 (vendor-advisory)
- forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Cha…
- secunia.com/advisories/59652 (third-party-advisory)
- www.securityfocus.com/bid/64225 (vdb-entry)
- RHSA-2013:1826 (vendor-advisory)
- support.apple.com/kb/HT6150