CVE-2012-0803 Improper Authentication in Apache CXF

Critical 9.8 Published Updated

Remote attackers can bypass authentication in Apache CXF by sending an empty UsernameToken in SOAP requests, requiring developers to upgrade the library.

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

What is CVE-2012-0803?

CVE-2012-0803 is a critical authentication bypass vulnerability in Apache Cxf, published on 8 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WS-SP UsernameToken policy in Apache CXF 2.4.5 and 2.5.1 allows remote attackers to bypass authentication by sending an empty UsernameToken as part of a SOAP request.

Weakness: CWE-287

Which versions are affected by CVE-2012-0803?

4 open source packages ship an affected version, including org.apache.cxf:cxf. It affects 1 product.

PackageAffectedFixed in
org.apache.cxf:cxf MavenFrom 2.4.02.4.6
org.apache.cxf:cxf MavenFrom 2.4.02.4.6
org.apache.cxf:cxf MavenFrom 2.5.02.5.2
org.apache.cxf:cxf MavenFrom 2.5.02.5.2

Products include Apache Cxf.

How do I fix CVE-2012-0803?

Upgrade org.apache.cxf:cxf to a fixed version for your release line: 2.4.6 or 2.5.2.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2012-0803 being exploited?

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

All Apache Cxf vulnerabilities

Sources

Also known as GHSA-2p7x-jcr3-7p2c.

Is CVE-2012-0803 in your software?

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

Check your SBOMs for free