5 XSS vulnerabilities in setup, chart display, process list, and logo link.
- A malicious user with permission to create databases or users having HTML tags in their name, could trigger an XSS vulnerability by issuing a sleep query with a long delay. In the server status monitor, the query parameters were shown unescaped.
- By configuring a malicious URL for the phpMyAdmin logo link in the navigation sidebar, untrusted script code could be executed when a user clicked the logo.
We consider these vulnerabilities to be non critical.
The stored XSS vulnerabilities can be triggered only by someone who logged in to phpMyAdmin, as the usual token protection prevents non-logged-in users from accessing the required forms. The setup vulnerabilities can only be triggered when a crafted value is entered by the user.
Versions 3.5.x (prior to 126.96.36.199) and 4.0.x (prior to 188.8.131.52) are affected.
Upgrade to phpMyAdmin 184.108.40.206 or 220.127.116.11 or newer or apply the patches listed below.
Thanks to Emanuel Bronshtein for reporting these issues.
Assigned CVE ids: CVE-2013-4996 CVE-2013-4997
CWE ids: CWE-661 CWE-79 CWE-80
The following commits have been made to fix this issue:
The following commits have been made on the 3.5 branch to fix this issue:
For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.