ID:2568 - Exploit for Buffer overflow in PHP - CVE-2013-6420

 
Main Vulnerability Database Exploits ID:2568 - Exploit for Buffer overflow in PHP - CVE-2013-6420

ID:2568 - Exploit for Buffer overflow in PHP - CVE-2013-6420

Published: April 7, 2020


Vulnerability identifier: #VU16076
Vulnerability risk: High
CVE-ID: CVE-2013-6420
CWE-ID: CWE-119
Exploitation vector: Remote access
Vulnerable software:
PHP

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when 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. A remote attacker can supply specially crafted X.509 certificates, trigger memory corruption and cause the service to crash or execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.