PMASA-2011-18
Announcement-ID: PMASA-2011-18
Date: 2011-12-01
Updated: 2011-12-03
Summary
Multiple XSS.
Description
Using crafted database names, it was possible to produce XSS in the Database Synchronize and Database rename panels. Using an invalid and crafted SQL query, it was possible to produce XSS when editing a query on a table overview panel or when using the view creation dialog. Using a crafted column type, it was possible to produce XSS in the table search and create index dialogs.
Severity
We consider these vulnerabilities to be non critical.
Mitigation factor
These attacks are unlikely to succeed on a victim. Moreover, all these attacks require that the user be already logged in and that a valid token be part of the request.
Affected Versions
Versions 3.4.x are affected.
Solution
Upgrade to phpMyAdmin 3.4.8 or newer or apply the related patch listed below.
References
Thanks to David Vieira-Kurz for reporting the Database Synchronize and rename issues. Thanks to Maxim Rupp for reporting the invalid SQL query issue. Thanks to R.Harikrishnan for reporting the database rename and view creation issues.
Assigned CVE IDs: CVE-2011-4634
Patches
The following commits have been made to fix this issue:
- 1490533d91e9d3820e78ca4eac7981886eaea2cb
- b289fe082441dc739939b0ba15dae0d9dc6cee92
- dac8d6ce256333ff45b5f46270304b8657452740
- 077c10020e349e8c1beb46309098992fde616913
More information
For further information and in case of questions, please contact the phpMyAdmin security team at security@phpmyadmin.net.