Cross-site scripting in phpMyAdmin - CVE-2016-2559
Published: March 1, 2016 / Updated: August 9, 2020
phpMyAdmin
Detailed vulnerability description
Vulnerability allows a remote attacker to perform XSS attacks.
The vulnerability is caused by an input validation error in the format function in libraries/sql-parser/src/Utils/Error.php in the SQL parser in phpMyAdmin 4.5.x before 4.5.5.1. A remote authenticated attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
How to mitigate CVE-2016-2559
Sources
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178562.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178869.html
- https://github.com/phpmyadmin/phpmyadmin/commit/3a6a9a807d99371ee126635e1a505fc1fe0df32c
- https://www.phpmyadmin.net/security/PMASA-2016-10/