CVE-2014-3504 Security feature bypass in n/a

Medium 4.0 Published Updated

Man-in-the-middle attackers can spoof SSL servers by exploiting improper NUL byte handling in certificate Common Name fields.

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

What is CVE-2014-3504?

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

Official description

The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_ssl_cert_certificate functions in Serf 0.2.0 through 1.3.x before 1.3.7 does not properly handle a NUL byte in a domain name in the subject's Common Name (CN) 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.

Which versions are affected by CVE-2014-3504?

It affects 3 products.

Linux distribution packages (1)
libserf openSUSE:TumbleweedAll versions1.3.9-1.2

Products include Apache Subversion, Canonical Ubuntu Linux, Serf Project Serf.

How do I fix CVE-2014-3504?

Upgrade to a fixed version.

Is CVE-2014-3504 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2014-3504, GHSA-4425-mwr9-99xc, MGASA-2014-0353, UBUNTU-CVE-2014-3504, USN-2315-1, openSUSE-SU-2024:10569-1.

Is CVE-2014-3504 in your software?

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

Check your SBOMs for free