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
Patches
The following commits have been made to fix this issue:
- d32da348c4de2379482a48661ce968a55eebe5c4
- 1bc04ec95038f2356ad33752090001bf1c047208
- 2a3b7393d1d5a8ba0543699df94a08a0f5728fe0
- 2ffdbf2d7daa0b92541d8b754e2afac555d3ed21
The following commits have been made on the 4.0 branch to fix this issue:
- c5783321cd387d0b65b32cf399766f08a9acad68
- 42b64e12b5f596366f94ef72365fd69a019ba820
- 58cdd91fc83703a1ab645764fb3708e8e0b7c4a2
- c7685e5acd3f8e722f4f374c6fa821590865b68d
The following commits have been made on the 4.1 branch to fix this issue:
- 47a6ece0427a23c47f2b1a88dfb0f46ca344aaec
- 816fa880060f37932be291d2918fd5c6ac474ab5
- 60c619fa1679a7c4fe09657da293e84dde02eede
- cea7c5fba8224b8380f2a83a689eb6caa6c79662
More information
For further information and in case of questions, please contact the phpMyAdmin security team at security@phpmyadmin.net.