CVE-2013-6420
highpriority · attend · 52EPSS 0.356 · 98 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.6–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-30395PHP - 'openssl_x509_parse()' Memory CorruptionPoC · exploit_db
affected products (118)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux Resilient Storage EUS 6.5.zall versionscert_bundDEcpe:/o:redhat:enterprise_linux:6.5.z:resilentstorage:eus
- Red Hat Enterprise Linux Server EUS 6.5.zall versionscert_bundDEcpe:/o:redhat:enterprise_linux:6.5.z:server:eus
- Red Hat Enterprise Linux Workstation 6all versionscert_bundDEcpe:/o:redhat:enterprise_linux_workstation:6
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1283PHP: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des DienstesDeutsch2013-12-10csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in PHP ausnutzen, um beliebigen Programmcode mit den Rechten des Dienstes auszuführen oder um einen Denial of Service Zustand herbeizuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (45)
External citations — patches, advisories, analysis.
- http://git.php.net/?p=php-src.git;a=commit;h=c1224573c773b6845e83505f717fbf820fc18415cnnvd
- http://secunia.com/advisories/56055cnnvd
- http://secunia.com/advisories/56070cnnvd
- http://secunia.com/advisories/56071cnnvd
- http://www.php.net/ChangeLog-5.phpcnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1036830cnnvd
- https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.htmlcnnvd
- http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan