BaseDraft
CWE-611Improper Restriction of XML External Entity Reference
Category: other
Description
The product 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.
Common consequences· 3
- Confidentiality — Read Application Data, Read Files or DirectoriesIf the attacker is able to include a crafted DTD and a default entity resolver is enabled, the attacker may be able to access arbitrary files on the system. By submitting an XML file that defines an external entity with a file:// URI, an attacker can cause the processing application to read the contents of a local file. For example, a URI such as "file:///c:/winnt/win.ini" designates (in Windows) the file C:\Winnt\win.ini, or file:///etc/passwd designates the password file in Unix-based systems. Once the content of the URI is read, it is fed back into the application that is processing the XML. This application may echo back the data (e.g., in an error message), thereby exposing the file contents.
- Integrity — Bypass Protection MechanismAn attacker may supply a crafted DTD using URIs with schemes such as http://, forcing the application to make outgoing HTTP requests to servers that the attacker cannot reach directly, which can be used to bypass firewall restrictions; hide the source of attacks such as port scanning; or otherwise leverage the server's trust relationship with other entities.
- Availability — DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)The product could consume excessive CPU cycles or memory using a URI that points to a large file, or a device that always returns data such as /dev/random. Alternately, the URI could reference a file that contains many nested or recursive entity references to further slow down parsing.
Potential mitigations· 1
- [Implementation, System Configuration]Many XML parsers and validators can be configured to disable external entity expansion.
Related CAPEC attack patterns· 1
References
Exploits (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Data Serialization External Entities Blowupcapec-221 | 100% | live |
Compliance frameworks addressing this (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| ComplianceControl | pci_dss_v4-r6 | 100% | live |
(incoming)57
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-10091cve-2025-10091 | 0% | live |
| Vulnerability | CVE-2025-10092cve-2025-10092 | 0% | live |
| Vulnerability | CVE-2025-10183cve-2025-10183 | 0% | live |
| Vulnerability | CVE-2025-10713cve-2025-10713 | 0% | live |
| Vulnerability | CVE-2025-10816cve-2025-10816 | 0% | live |
| Vulnerability | CVE-2025-11035cve-2025-11035 | 0% | live |
| Vulnerability | CVE-2025-11140cve-2025-11140 | 0% | live |
| Vulnerability | CVE-2025-11341cve-2025-11341 | 0% | live |
| Vulnerability | CVE-2025-12531cve-2025-12531 | 0% | live |
| Vulnerability | CVE-2025-14543cve-2025-14543 | 0% | live |
| Vulnerability | CVE-2025-22478cve-2025-22478 | 0% | live |
| Vulnerability | CVE-2025-27523cve-2025-27523 | 0% | live |
| Vulnerability | SysAid On-Prem Improper Restriction of XML External Entity Reference Vulnerabilitycve-2025-2775 | 0% | live |
| Vulnerability | SysAid On-Prem Improper Restriction of XML External Entity Reference Vulnerabilitycve-2025-2776 | 0% | live |
| Vulnerability | CVE-2025-2777cve-2025-2777 | 0% | live |
| Vulnerability | CVE-2025-2905cve-2025-2905 | 0% | live |
| Vulnerability | CVE-2025-30220cve-2025-30220 | 0% | live |
| Vulnerability | CVE-2025-31039cve-2025-31039 | 0% | live |
| Vulnerability | CVE-2025-32406cve-2025-32406 | 0% | live |
| Vulnerability | CVE-2025-3241cve-2025-3241 | 0% | live |
| Vulnerability | CVE-2025-36049cve-2025-36049 | 0% | live |
| Vulnerability | CVE-2025-36247cve-2025-36247 | 0% | live |
| Vulnerability | CVE-2025-4044cve-2025-4044 | 0% | live |
| Vulnerability | CVE-2025-46726cve-2025-46726 | 0% | live |
| Vulnerability | CVE-2025-48006cve-2025-48006 | 0% | live |
| Vulnerability | CVE-2025-49535cve-2025-49535 | 0% | live |
| Vulnerability | CVE-2025-53689cve-2025-53689 | 0% | live |
| Vulnerability | CVE-2025-54254cve-2025-54254 | 0% | live |
| Vulnerability | CVE-2025-54445cve-2025-54445 | 0% | live |
| Vulnerability | CVE-2025-54988cve-2025-54988 | 0% | live |
Showing top 30 of 57 by confidence. Click any target to see the full neighbourhood.
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.