CVE-2024-29736: Apache CXF: SSRF vulnerability via WADL stylesheet parameter
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.
Published Jul 19, 2024 · Updated Apr 4, 2025
Affected packages
org.apache.cxf:cxf-rt-rs-service-description
- Ecosystem
- Maven
- Affected
- >= 4.0.0, < 4.0.5
- Fixed in
- 4.0.5
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-rt-rs-service-description
org.apache.cxf:cxf-rt-rs-service-description
- Ecosystem
- Maven
- Affected
- >= 3.6.0, < 3.6.4
- Fixed in
- 3.6.4
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-rt-rs-service-description
org.apache.cxf:cxf-rt-rs-service-description
- Ecosystem
- Maven
- Affected
- < 3.5.9
- Fixed in
- 3.5.9
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-rt-rs-service-description
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to yusuke-koyoshi.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29736
- https://lists.apache.org/thread/4jtpsswn2r6xommol54p5mg263ysgdw2
- https://github.com/apache/cxf/commit/378afe1acb7503315bc63555c8743db0f55d8312
- https://github.com/apache/cxf/commit/bafb0cadf723fc3962031c34f1f20dc0e8b7a36b
- https://github.com/apache/cxf/commit/df2241c59481a57aebb1c0693b778a35baaf5570
- https://github.com/advisories/GHSA-5m3j-pxh7-455p
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
