PMASA-2011-17
Announcement-ID: PMASA-2011-17
Date: 2011-11-10
Summary
Local file inclusion.
Description
Importing a specially-crafted XML file which contains an XML entity injection permits to retrieve a local file (limited by the privileges of the user running the web server).
Severity
We consider this vulnerability to be serious.
Mitigation factor
The attacker must be logged in to MySQL via phpMyAdmin.
Affected Versions
Versions 3.3.x and 3.4.x are affected.
Solution
Upgrade to phpMyAdmin 3.4.7.1 or newer (or 3.3.10.5) or apply the related patches listed below.
References
Thanks to Jan Lieskovsky from the Red Hat Security Response Team who warned the phpMyAdmin project that public disclosure of this problem has occurred.
Assigned CVE IDs: CVE-2011-4107
CWE IDs: CWE-661
Patches
The following commits have been made to fix this issue:
- 05f96b921a7e7dacd02be5ca61b2e7bdd014ee55
- 34d99de000de9d15cfdf5e9cc8b7682d51110bbd
- a5e206fbd2ca814042cfc1bb7dd3b40c28ce3fb5
The following commits have been made on the 3.3 branch to fix this issue:
- 75606e5f82280eb1a3817badf1b24d512a010b80
- 1a89c8ecfd09ceace81fb11e488f12599c0e49b6
- 2fbf631384fd8cded55f4500cb87b129442f9ed2
- 5fa86b8e81565c15ddbc359e8f59ecd829a2b717
More information
For further information and in case of questions, please contact the phpMyAdmin security team at security@phpmyadmin.net.