Vulnerabilities · 2013 · Php
CVE-2013-6420
Php vulnerability
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
Php, Opensuse, Mac Os X. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1036830 · Patch
- www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vul · Exploit
- forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
- git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415
- lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- rhn.redhat.com/errata/RHSA-2013-1813.html
- rhn.redhat.com/errata/RHSA-2013-1815.html
- nvd.nist.gov/vuln/detail/CVE-2013-6420
- cve.org/CVERecord?id=CVE-2013-6420
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.