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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- forums.interworx.com
- git.php.net
- openSUSE-SU-2013:1963 vendor-advisory
- openSUSE-SU-2013:1964 vendor-advisory
- RHSA-2013:1813 vendor-advisory
- RHSA-2013:1815 vendor-advisory
- RHSA-2013:1824 vendor-advisory
- RHSA-2013:1825 vendor-advisory
- RHSA-2013:1826 vendor-advisory
- 59652 third-party-advisory
- support.apple.com
- DSA-2816 vendor-advisory
- www.php.net
- 64225 vdb-entry
- 1029472 vdb-entry
- USN-2055-1 vendor-advisory
- bugzilla.redhat.com patch
- HPSBMU03112 vendor-advisory
- www.sektioneins.de exploit