CVE-2013-4248 Security feature bypass in n/a

Medium 4.3 Published Updated

Man-in-the-middle attackers can spoof SSL servers by exploiting a null byte handling flaw in PHP's OpenSSL certificate parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-4248?

CVE-2013-4248 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 18 Aug 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2013-4248?

It affects 3 products.

Products include Canonical Ubuntu Linux, Php Php, Redhat Enterprise Linux.

How do I fix CVE-2013-4248?

Upgrade to a fixed version.

Is CVE-2013-4248 being exploited?

There is no known exploitation of CVE-2013-4248 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DSA-2742-1, GHSA-hhfm-3287-cc2v, MGASA-2013-0264.

Is CVE-2013-4248 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free