GitHub Advisory Database
GHSA-5m3j-pxh7-455p
Apache CXF: SSRF vulnerability via WADL stylesheet parameter
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-service-description | From 4.0.0 before 4.0.5 (fixed in 4.0.5) |
| Maven | org.apache.cxf:cxf-rt-rs-service-description | From 3.6.0 before 3.6.4 (fixed in 3.6.4) |
| Maven | org.apache.cxf:cxf-rt-rs-service-description | All versions before 3.5.9 (fixed in 3.5.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29736
- https://github.com/apache/cxf/commit/378afe1acb7503315bc63555c8743db0f55d8312
- https://github.com/apache/cxf/commit/bafb0cadf723fc3962031c34f1f20dc0e8b7a36b
- https://github.com/apache/cxf/commit/df2241c59481a57aebb1c0693b778a35baaf5570
- https://github.com/apache/cxf
- https://lists.apache.org/thread/4jtpsswn2r6xommol54p5mg263ysgdw2