NetSight
high7.5Public exploit code

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) notBefo…

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

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

VendorProductAffected versions
PhpPhp
Versions 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.4.4, 5.4.5
OpensuseOpensuse
Versions 11.4, 12.2, 12.3, 13.1
AppleMac Os X
through 10.9.1

Weakness classification

References