CVE-2013-4248

php: hostname check bypassing vulnerability in SSL client

Published Aug 18, 2013 CVSS 2.0 · 4.3 Medium EPSS 3.3% KEV · Not listed
Description
The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2742-1 php5 security update
EUVD EUVD EUVD-2013-4152 The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Ubuntu USN Ubuntu USN USN-1937-1 PHP vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 4:38 PM
Reserved
Jun 12, 2013, 12:00 AM
Status
Modified
Published
Aug 18, 2013, 2:52 AM
Modified
Jun 16, 2026, 11:56 PM
Severity
Moderate
Public date
Aug 13, 2013, 12:00 AM