CVE-2011-4107: Infoleak
A local file inclusion flaw was found in the way XML import plug-in of phpMyAdmin, a tool written in PHP intended to handle the administration of MySQL over the World Wide Web, performed import of malformed XML files. A remote attacker could provide a specially-crafted XML file, which once imported into the phpMyAdmin service instance would lead to arbitrary local file (accessible with the privileges of the phpMyAdmin user) read / retrieval.
References: [1] http://seclists.org/fulldisclosure/2011/Nov/21 [2] http://www.wooyun.org/bugs/wooyun-2010-03185
Other sources
The simplexmlloadstring 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.
— GitHub
The simplexmlloadstring 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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2011-4107?
CVE-2011-4107 has a high severity level due to its potential for remote exploitation via local file inclusion.
How do I fix CVE-2011-4107?
To fix CVE-2011-4107, upgrade phpMyAdmin to version 3.3.10.5 or 3.4.7.1 or later.
Which versions of phpMyAdmin are affected by CVE-2011-4107?
CVE-2011-4107 affects phpMyAdmin versions 3.3.0 to 3.3.10.4 and 3.4.0 to 3.4.7.
Can CVE-2011-4107 lead to data exposure?
Yes, CVE-2011-4107 can potentially allow an attacker to access sensitive files and data on the server.
What actions should be taken if CVE-2011-4107 is detected on my server?
If CVE-2011-4107 is detected, immediately update phpMyAdmin to a patched version and review server logs for any unauthorized access.