Bringing MySQL to the web

PMASA-2014-11

Announcement-ID: PMASA-2014-11

Date: 2014-10-01

Summary

XSS vulnerabilities in table search and table structure pages.

Description

With a crafted ENUM value it is possible to trigger an XSS in table search and table structure pages.

Severity

We consider this vulnerability to be non critical.

Mitigation factor

This vulnerability can be triggered only by someone who is logged in to phpMyAdmin, as the usual token protection prevents non-logged-in users from accessing the required pages.

Affected Versions

Versions 4.0.x (prior to 4.0.10.4), 4.1.x (prior to 4.1.14.5) and 4.2.x (prior to 4.2.9.1) are affected.

Solution

Upgrade to phpMyAdmin 4.0.10.4 or newer, or 4.1.14.5 or newer, or 4.2.9.1 or newer, or apply the patch listed below.

References

Thanks to Ashutosh Dhundhara for reporting this vulnerability.

Assigned CVE ids: CVE-2014-7217

CWE ids: CWE-661 CWE-79

Patches

The following commits have been made to fix this issue:

The following commits have been made on the 4.1 branch to fix this issue:

The following commits have been made on the 4.0 branch to fix this issue:

More information

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