PMASA-2009-3
Announcement-ID: PMASA-2009-3
Date: 2009-03-24
Summary
Insufficient output sanitizing when generating configuration file.
Description
Setup script used to generate configuration can be fooled using a crafted POST request to include arbitrary PHP code in generated configuration file. Combined with ability to save files on server, this can allow unauthenticated users to execute arbitrary PHP code.
Severity
We consider this vulnerability to be critical.
Mitigation factor
Additional steps from administrator are required to actually exploit this issue (web server writable config directory has to be created).
Affected Versions
For 2.11.x: versions before 2.11.9.5.<br /> For 3.x: versions before 3.1.3.1.<br />
Solution
Upgrade to phpMyAdmin 2.11.9.5 or 3.1.3.1 or apply patch listed below.
References
Thanks to Greg Ose (Neohapsis), who has discovered this issue and reported it to us.
Assigned CVE IDs: CVE-2009-1151
Patches
The following commits have been made to fix this issue:
The following commits have been made on the 2.11 branch to fix this issue:
More information
For further information and in case of questions, please contact the phpMyAdmin security team at security@phpmyadmin.net.