Local file disclosure via default-enabled external entities
Published Feb 19, 2023 · Updated Feb 13, 2025
XXE injection in Java XMLBuilder 1.0 through 1.1 allows attackers to read local files by parsing crafted XML documents. The XMLBuilder and XMLBuilder2 parse methods create a JAXP DocumentBuilderFactory without disabling external general or parameter entities, causing system identifiers to be resolved and embedded in the DOM. The flaw is reachable when a consuming application passes attacker-controlled XML to a parse method; the demonstrated consequence is disclosure of files readable by that application's process.
Summary
What happened
XXE injection in Java XMLBuilder 1.0 through 1.1 allows attackers to read local files by parsing crafted XML documents. The XMLBuilder and XMLBuilder2 parse methods create a JAXP DocumentBuilderFactory without disabling external general or parameter entities, causing system identifiers to be resolved and embedded in the DOM. The flaw is reachable when a consuming application passes attacker-controlled XML to a parse method; the demonstrated consequence is disclosure of files readable by that application's process.
The record
- CVE
- CVE-2014-125087
- Published
- Feb 19, 2023
- Updated
- Feb 13, 2025
- Vendor
- James Murty
- Product
- Java XMLBuilder
- Classifications
- CWE-611, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 19, 2023CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0
- Affected versionversion=1.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- XMLBuilder2 local-file XXE proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo