PMASA-2014-12

Announcement-ID: PMASA-2014-12

Date: 2014-10-21

Summary

XSS vulnerabilities in SQL debug output and server monitor page.

Description

With a crafted database or table name it is possible to trigger an XSS in SQL debug output when enabled and in server monitor page when viewing and analysing executed queries.

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. Moreover, debugging SQL is a developer option which is disabled by default and expected to be disabled in production environments.

Affected Versions

Versions 4.0.x (prior to 4.0.10.5), 4.1.x (prior to 4.1.14.6) and 4.2.x (prior to 4.2.10.1) are affected.

Solution

Upgrade to phpMyAdmin 4.0.10.5 or newer, or 4.1.14.6 or newer, or 4.2.10.1 or newer, or apply the patch listed below.

References

Assigned CVE ids: CVE-2014-8326

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.0 branch to fix this issue:

The following commits have been made on the 4.1 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.

Announcements