Bringing MySQL to the web

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

CWE ids: CWE-661 CWE-79

Patches

The following commits have been made to fix this issue:

More information

For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.