CVE-2015-3451
NoneCVSS
—
EPSS
4.0%
Published
May 12, 2015
CISA due date
—
Cloudanix analysis
A flaw in an XML handling library lets attackers trick applications into reading files they should not have access to, potentially exposing sensitive information until the library is updated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- XXE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The _clone function in XML::LibXML fails to enforce the expand_entities option, permitting external entity resolution in XML parsed via the new or load_xml functions and enabling disclosure of local files or outbound network requests.
Why it matters to the business
Organizations using affected XML parsing code risk exposure of internal files or unintended network access, which can result in data leakage and increased operational risk until the library is updated.
How an attack unfolds
An attacker crafts an XML document containing external entity declarations that reference local files or internal services, submits it through the new or load_xml entry points, and receives the expanded content in the application response or via side-channel timing.
How to fix it
Upgrade XML::LibXML to version 2.0119 or later on all affected platforms; where immediate patching is not feasible, disable external entity processing at the application layer or wrap calls with explicit expand_entities=0.
How to confirm the fix worked
Confirm the installed XML::LibXML version is at least 2.0119, then test the new and load_xml functions with a controlled XXE payload that attempts to read a known local file and verify the payload is rejected.
Typical attack path
- Identify an application endpoint that accepts XML input using the vulnerable library functions
- Prepare a malicious XML payload with external entity definitions pointing to sensitive resources
- Submit the payload and capture the expanded entity data returned by the parser
- Iterate on entity references to exfiltrate additional files or probe internal network hosts
How to detect it
Search web and application server logs for XML documents containing DOCTYPE or ENTITY declarations, monitor for parser processes accessing unexpected local paths, and inspect outbound connections initiated during XML parsing.
What your security team should do
- Prioritize upgrade of XML::LibXML across all distributions and dependent applications
- Scan codebases for direct calls to new or load_xml and add defensive entity-expansion controls
- Review application logs for XML processing events that reference external entities or unexpected file paths
- Add the library to the vulnerability management inventory with automated version checks
The record
The _clone function in XML::LibXML before 2.0119 does not properly set the expand_entities option, which allows remote attackers to conduct XML external entity (XXE) attacks via crafted XML data to the (1) new or (2) load_xml function.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libxml-libxml-perl | 0 | 2.0116+dfsg-2 |
| Debian:12 | libxml-libxml-perl | 0 | 2.0116+dfsg-2 |
| Debian:13 | libxml-libxml-perl | 0 | 2.0116+dfsg-2 |
| Debian:14 | libxml-libxml-perl | 0 | 2.0116+dfsg-2 |
| Debian:6.0 | libxml-libxml-perl | 0 | 1.70.ds-1+deb6u1 |
| Debian:7 | libxml-libxml-perl | 0 | 2.0001+dfsg-1+deb7u1 |
| Debian:8 | libxml-libxml-perl | 0 | 2.0116+dfsg-1+deb8u1 |
| Mageia:4 | perl-XML-LibXML | 0 | 2.10.0-2.1.mga4 |
| SUSE:Linux Enterprise Desktop 12 | perl-XML-LibXML | 0 | 2.0019-5.3 |
| SUSE:Linux Enterprise Server 12 | perl-XML-LibXML | 0 | 2.0019-5.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | perl-XML-LibXML | 0 | 2.0019-5.3 |
| Ubuntu:14.04:LTS | libxml-libxml-perl | 0 | 2.0108+dfsg-1ubuntu0.1 |
| openSUSE:Tumbleweed | perl-XML-LibXML | 0 | 2.0128-1.3 |
Related vulnerabilities
- CVE-2017-10672 Use-after-free in the XML-LibXML module through 2.0129 for Perl allows remote attackers… Also affects libxml-libxml-perl
- CVE-2026-8177 XML::LibXML versions through 2.0210 for Perl read out-of-bounds heap memory when parsing… Also affects perl-XML-LibXML
- CVE-2026-89260 MoguBlog through 6.2 contains an XML external entity injection vulnerability in the… CWE-611
- CVE-2026-84941 An information disclosure vulnerability in the SAML Single Sign-On (SSO) functionality of… CWE-611
- CVE-2026-79572 An XXE (XML External Entity) vulnerability in the level-rule module of Distribution… CWE-611
- CVE-2026-19614 The API is prone to XML external entity (XXE) injection. CWE-611
- CVE-2026-71375 Improper restriction of XML external entity reference vulnerability in Cosminexus… CWE-611
- CVE-2026-76958 SAP Integration Suite does not sufficiently validate XML documents accepted from… CWE-611