Insufficient output sanitizing when generating configuration file.
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.
We consider this vulnerability to be critical.
Additional steps from administrator are required to actually exploit this issue (web server writable config directory has to be created).
For 2.11.x: versions before 184.108.40.206.
For 3.x: versions before 220.127.116.11.
Upgrade to phpMyAdmin 18.104.22.168 or 22.214.171.124 or apply patch listed below.
Thanks to Greg Ose (Neohapsis), who has discovered this issue and reported it to us.
Assigned CVE ids: CVE-2009-1151
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:
For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.