Bringing MySQL to the web

PMASA-2013-11

Announcement-ID: PMASA-2013-11

Date: 2013-07-28

Updated: 2013-07-30

Summary

If a crafted version.json would be presented, an XSS could be introduced.

Description

Due to not properly validating the version.json file, which is fetched from the phpMyAdmin.net website, could lead to an XSS attack, if a crafted version.json file would be presented.

Severity

We consider this vulnerability serious.

Mitigation factor

This vulnerability can only be exploited with a combination of complicated techniques and tricking the user to visit a page.

Affected Versions

Versions 3.5.x (prior to 3.5.8.2) and 4.0.x (prior to 4.0.4.2) are affected.

Solution

Upgrade to phpMyAdmin 3.5.8.2 or 4.0.4.2 or newer or apply the patches listed below.

References

Thanks to Emanuel Bronshtein for reporting these issues.

Assigned CVE ids: CVE-2013-4996

CWE ids: CWE-661 CWE-300 CWE-79

Patches

The following commits have been made to fix this issue:

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