CVE Vulnerabilities

CVE-2011-4107

Improper Restriction of XML External Entity Reference

Published: Nov 17, 2011 | Modified: Apr 11, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The simplexml_load_string function in the XML import plug-in (libraries/import/xml.php) in phpMyAdmin 3.4.x before 3.4.7.1 and 3.3.x before 3.3.10.5 allows remote authenticated users to read arbitrary files via XML data containing external entity references, aka an XML external entity (XXE) injection attack.

Weakness

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.

Affected Software

NameVendorStart VersionEnd Version
PhpmyadminPhpmyadmin3.3.0.0 (including)3.3.10.5 (excluding)
PhpmyadminPhpmyadmin3.4.0.0 (including)3.4.7.1 (excluding)
PhpmyadminUbuntuhardy*
PhpmyadminUbuntulucid*
PhpmyadminUbuntumaverick*
PhpmyadminUbuntunatty*
PhpmyadminUbuntuoneiric*
PhpmyadminUbuntuupstream*

Potential Mitigations

References