CVE-2024-28168
NoneCVSS
—
EPSS
1.0%
Published
Oct 9, 2024
CISA due date
—
Cloudanix analysis
A problem in software that handles certain document files could let attackers read private files on the server or reach other systems inside the network.
- Exploitation
- Other
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- XXE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper restriction of XML external entity references in the XML parser allows untrusted XML input to resolve external entities, enabling arbitrary file reads from the local filesystem or outbound network requests to attacker-controlled servers.
Why it matters to the business
Attackers could access sensitive files on servers running the affected software or use the server to probe internal networks, potentially leading to data exposure or further compromise in document processing workflows; the issue appears in a widely used dependency with downstream packages requiring updates.
How an attack unfolds
An attacker supplies a specially crafted XML document containing malicious external entity declarations to a component that processes user-controlled XML; the vulnerable FOP parser resolves the entities, returning file contents or making network calls back to the attacker.
How to fix it
Upgrade Apache XML Graphics FOP to version 2.10 or later; for the Karmada package, upgrade to version 1.8.0 or later which incorporates the fixed FOP dependency.
How to confirm the fix worked
Confirm the installed FOP version is 2.10 or newer and Karmada version is 1.8.0 or newer; test by submitting an XXE test payload and verifying that external entities are no longer resolved.
Typical attack path
- Identify an endpoint or feature that accepts XML input for processing
- Craft an XML payload with external entity references pointing to local files or internal URLs
- Submit the payload through the affected input channel
- Receive the resolved entity data in the response or observe network callbacks
How to detect it
Inspect application logs for XML parsing errors or unexpected outbound connections triggered during document processing; review any recent file access or network activity logs associated with the document rendering service.
What your security team should do
- Prioritize upgrade of affected FOP and Karmada installations to the fixed versions within standard change windows
- Review XML processing code paths for any custom entity handling and disable external entity resolution where possible
- Monitor dependency scanners for other downstream projects that embed the vulnerable FOP 2.9 version
The record
Improper Restriction of XML External Entity Reference ('XXE') vulnerability in Apache XML Graphics FOP. This issue affects Apache XML Graphics FOP: 2.9. Users are recommended to upgrade to version 2.10, which fixes the issue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.xmlgraphics:fop-core | 0 | 2.10 |
| Debian:11 | fop | 0 | No fix |
| Debian:12 | fop | 0 | No fix |
| Debian:13 | fop | 0 | No fix |
| Debian:13 | fop | 0 | 1:2.10+dfsg-1 |
| Debian:14 | fop | 0 | 1:2.10+dfsg-1 |
| SUSE:Enterprise Storage 7.1 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Enterprise Storage 7.1 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Enterprise Storage 7.1 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Enterprise Storage 7.1 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Enterprise Storage 7.1 | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP5 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP5 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP5 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP5 | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| SUSE:Manager Proxy 4.3 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Manager Proxy 4.3 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Manager Server 4.3 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| SUSE:Manager Server 4.3 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| Ubuntu:16.04:LTS | fop | 0 | No fix |
| Ubuntu:18.04:LTS | fop | 0 | No fix |
| Ubuntu:20.04:LTS | fop | 0 | No fix |
| Ubuntu:22.04:LTS | fop | 0 | No fix |
| Ubuntu:24.04:LTS | fop | 0 | No fix |
| Ubuntu:24.10 | fop | 0 | No fix |
| Ubuntu:25.04 | fop | 0 | No fix |
| Ubuntu:25.10 | fop | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | fop | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | fop | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | fop | 0 | No fix |
| openSUSE:Leap 15.5 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| openSUSE:Leap 15.5 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| openSUSE:Leap 15.5 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| openSUSE:Leap 15.5 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| openSUSE:Leap 15.5 | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| openSUSE:Leap 15.6 | javapackages-tools | 0 | 6.3.4-150200.3.15.1 |
| openSUSE:Leap 15.6 | javapackages-tools-extras | 0 | 6.3.4-150200.3.15.1 |
| openSUSE:Leap 15.6 | xmlgraphics-batik | 0 | 1.18-150200.4.10.2 |
| openSUSE:Leap 15.6 | xmlgraphics-commons | 0 | 2.10-150200.3.10.2 |
| openSUSE:Leap 15.6 | xmlgraphics-fop | 0 | 2.10-150200.13.10.1 |
| openSUSE:Tumbleweed | xmlgraphics-fop | 0 | 2.10-1.1 |
Related vulnerabilities
- CVE-2017-5661 In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP can… Also affects fop
- CVE-2022-44730 Server-Side Request Forgery (SSRF) vulnerability in Apache Software Foundation Apache XML… Also affects xmlgraphics-batik
- CVE-2022-44729 Server-Side Request Forgery (SSRF) vulnerability in Apache Software Foundation Apache XML… Also affects xmlgraphics-batik
- CVE-2022-41704 A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java… Also affects xmlgraphics-batik