XXE Exploit in Apache PDFBox XML Parsing
CVE-2024-8602 Published on October 14, 2024

XML Eternal Entity Attack in the Software Library taxstatement.jar
When the XML is read from the codes in the PDF and parsed using a DocumentBuilder, the default settings of the DocumentBuilder allow for an XXE (XML External Entity) attack. Further information on this can be found on the website of the Open Worldwide Application Security Project (OWASP). An attacker could theoretically leverage this by delivering a manipulated PDF file to the target, and depending on the environment, various actions can be executed. These actions include: * Reading files from the operating system * Crashing the thread handling the parsing or causing it to enter an infinite loop * Executing HTTP requests * Loading additional DTDs or XML files * Under certain conditions, executing OS commands

NVD

Weakness Type

What is a XXE Vulnerability?

The software processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

CVE-2024-8602 has been classified to as a XXE vulnerability or weakness.


Products Associated with CVE-2024-8602

Want to know whenever a new CVE is published for Apache Pdfbox? stack.watch will email you.

 

Affected Versions

Schweizerische Steuerkonferenz Library taxstatement.jar:

Exploit Probability

EPSS
0.19%
Percentile
40.30%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.