CVE-2024-29736 Apache CXF: SSRF vulnerability via WADL stylesheet parameter

High 7.5 Published Updated

Attackers can perform Server-Side Request Forgery attacks on REST web services if a custom stylesheet parameter is configured in Apache CXF.

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

What is CVE-2024-29736?

CVE-2024-29736 is a high-severity server-side request forgery vulnerability in Apache Cxf, published on 19 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A SSRF vulnerability in WADL service description in versions of Apache CXF before 4.0.5, 3.6.4 and 3.5.9 allows an attacker to perform SSRF style attacks on REST webservices. The attack only applies if a custom stylesheet parameter is configured.

Weakness: CWE-918

Which versions are affected by CVE-2024-29736?

6 open source packages ship an affected version, including org.apache.cxf:cxf-rt-rs-service-description. It affects 1 product.

PackageAffectedFixed in
org.apache.cxf:cxf-rt-rs-service-description MavenAll versions3.5.9
org.apache.cxf:cxf-rt-rs-service-description MavenAll versions3.5.9
org.apache.cxf:cxf-rt-rs-service-description MavenFrom 3.6.03.6.4
org.apache.cxf:cxf-rt-rs-service-description MavenFrom 3.6.03.6.4
org.apache.cxf:cxf-rt-rs-service-description MavenFrom 4.0.04.0.5
org.apache.cxf:cxf-rt-rs-service-description MavenFrom 4.0.04.0.5

Products include Apache Cxf.

How do I fix CVE-2024-29736?

Upgrade org.apache.cxf:cxf-rt-rs-service-description to a fixed version for your release line: 3.5.9, 3.6.4 or 4.0.5.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-29736 being exploited?

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

All Apache Cxf vulnerabilities

Sources

Also known as GHSA-5m3j-pxh7-455p.

Is CVE-2024-29736 in your software?

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

Check your SBOMs for free