Apache CXF: Server-Side Request Forgery
CVE-2024-28752 is a critical-severity server-side request forgery vulnerability in Apache CXF from Apache, with a CVSS 3.1 base score of 9.3 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists version 4.0.4, 3.6.3, 3.5.8 as the first without the flaw, so updating Apache CXF to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 3.15% chance of exploitation within 30 days, higher than 88% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update Apache CXF to 4.0.4, 3.6.3, 3.5.8 or a later version.
- Update cxf to 4.0.4 or 3.6.3 or 3.5.8, whichever matches your release line, or a later version.
- Read the advisory on cxf.apache.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Apache | Apache CXF | before 4.0.4, 3.6.3, 3.5.8 | 4.0.4, 3.6.3, 3.5.8 |
| NetApp | oncommand_workflow_automation | 0 | Not stated |
| Apache | cxf | before 4.0.4; before 3.6.3; before 3.5.8 | 4.0.4, 3.6.3, 3.5.8 |
| NetApp | Ontap Tools | 10 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N. Scored by CISA (ADP).
Official description
A SSRF vulnerability using the Aegis DataBinding in versions of Apache CXF before 4.0.4, 3.6.3 and 3.5.8 allows an attacker to perform SSRF style attacks on webservices that take at least one parameter of any type. Users of other data bindings (including the default databinding) are not impacted.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Server-Side Request Forgery
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
How developers prevent this class of flaw
- If there is a known list of applications, IP, hostname, and/or domains to which the product is allowed to communicate, then use allowlists to ensure that outgoing requests are restricted to these known entities. The allowlists could be in the application code or possibly enforced by firewalls or network segmentation.
- If the product is expected to be able to connect to arbitrary IP addresses or domains, consider using a denylist that includes private network addresses, internal domain names, etc. The denylist could be in the application code or possibly enforced by firewalls or network segmentation.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- security.netapp.com/advisory/ntap-20240517-0001/Third Party Advisory
Other references
- openwall.com/lists/oss-security/2024/03/14/3Mailing List
Other vulnerabilities in Apache CXF
- 7.5 High severity
- 9.1 Critical severity
- 7.5 High severity
- 7.5 High severity
- 8.1 High severity
- 9.1 Critical severity
Recent Server-Side Request Forgery vulnerabilities
- 9.8 Critical severity
- 8.1 High severity
- 9.8 Critical severity
- 8.8 High severity
- 7.5 High severity
- 8.1 High severity
Spotted an error? Tell us.