Skip to content

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 c...

HighCVSS 7.5 EPSS 35.4% PoC
Published
Updated
Exploit status
Proof-of-concept only

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

ProductAffected versionsFixed in
PHP = 5.4.0 No fix listed
PHP = 5.4.1 No fix listed
PHP = 5.4.2 No fix listed
PHP = 5.4.3 No fix listed
PHP = 5.4.4 No fix listed
PHP = 5.4.5 No fix listed
PHP = 5.4.6 No fix listed
PHP = 5.4.7 No fix listed
PHP = 5.4.8 No fix listed
PHP = 5.4.9 No fix listed
PHP = 5.4.10 No fix listed
PHP = 5.4.11 No fix listed
PHP = 5.4.12 No fix listed
PHP = 5.4.12-rc1 No fix listed
PHP = 5.4.12-rc2 No fix listed
PHP = 5.4.13 No fix listed
PHP = 5.4.13-rc1 No fix listed
PHP = 5.4.14 No fix listed
PHP = 5.4.14-rc1 No fix listed
PHP = 5.4.15 No fix listed
PHP = 5.4.15-rc1 No fix listed
PHP = 5.4.16 No fix listed
PHP = 5.4.16-rc1 No fix listed
PHP = 5.4.17 No fix listed
PHP = 5.4.18 No fix listed
Show 56 more
ProductAffected versionsFixed in
PHP = 5.4.19 No fix listed
PHP = 5.4.20 No fix listed
PHP = 5.4.21 No fix listed
PHP = 5.4.22 No fix listed
PHP <= 5.3.27 No fix listed
PHP = 5.3.0 No fix listed
PHP = 5.3.1 No fix listed
PHP = 5.3.2 No fix listed
PHP = 5.3.3 No fix listed
PHP = 5.3.4 No fix listed
PHP = 5.3.5 No fix listed
PHP = 5.3.6 No fix listed
PHP = 5.3.7 No fix listed
PHP = 5.3.8 No fix listed
PHP = 5.3.9 No fix listed
PHP = 5.3.10 No fix listed
PHP = 5.3.11 No fix listed
PHP = 5.3.12 No fix listed
PHP = 5.3.13 No fix listed
PHP = 5.3.14 No fix listed
PHP = 5.3.15 No fix listed
PHP = 5.3.16 No fix listed
PHP = 5.3.17 No fix listed
PHP = 5.3.18 No fix listed
PHP = 5.3.19 No fix listed
PHP = 5.3.20 No fix listed
PHP = 5.3.21 No fix listed
PHP = 5.3.22 No fix listed
PHP = 5.3.23 No fix listed
PHP = 5.3.24 No fix listed
PHP = 5.3.25 No fix listed
PHP = 5.3.26 No fix listed
PHP = 5.5.0 No fix listed
PHP = 5.5.0-alpha1 No fix listed
PHP = 5.5.0-alpha2 No fix listed
PHP = 5.5.0-alpha3 No fix listed
PHP = 5.5.0-alpha4 No fix listed
PHP = 5.5.0-alpha5 No fix listed
PHP = 5.5.0-alpha6 No fix listed
PHP = 5.5.0-beta1 No fix listed
PHP = 5.5.0-beta2 No fix listed
PHP = 5.5.0-beta3 No fix listed
PHP = 5.5.0-beta4 No fix listed
PHP = 5.5.0-rc1 No fix listed
PHP = 5.5.0-rc2 No fix listed
PHP = 5.5.1 No fix listed
PHP = 5.5.2 No fix listed
PHP = 5.5.3 No fix listed
PHP = 5.5.4 No fix listed
PHP = 5.5.5 No fix listed
PHP = 5.5.6 No fix listed
opensuse = 11.4 No fix listed
opensuse = 12.2 No fix listed
opensuse = 12.3 No fix listed
opensuse = 13.1 No fix listed
apple mac os x <= 10.9.1 No fix listed

References