PMASA-2014-13

Announcement-ID: PMASA-2014-13

Date: 2014-11-20

Summary

Multiple XSS vulnerabilities.

Description

  • With a crafted database, table or column name it is possible to trigger an XSS attack in the table browse page.
  • With a crafted ENUM value it is possible to trigger XSS attacks in the table print view and zoom search pages.
  • With a crafted value for font size it is possible to trigger an XSS attack in the home page.

Severity

We consider this vulnerabilities to be non critical.

Mitigation factor

These vulnerabilities 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, exploitation of the XSS vulnerability related to the font size requires forgery of the pma_fontsize cookie.

Affected Versions

Versions 4.0.x (prior to 4.0.10.6), 4.1.x (prior to 4.1.14.7) and 4.2.x (prior to 4.2.12) are affected.

Solution

Upgrade to phpMyAdmin 4.0.10.6 or newer, or 4.1.14.7 or newer, or 4.2.12 or newer, or apply the patch listed below.

References

Thanks to Johannes Dahse (https://twitter.com/FluxReiners) for reporting XSS vulnerabilities in table browse and home pages.

Assigned CVE ids: CVE-2014-8958

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