Cross-site scripting in phpMyAdmin - CVE-2012-5339
Published: October 25, 2012 / Updated: August 11, 2020
phpMyAdmin
Detailed vulnerability description
The vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data when processing data passed via a crafted name of (1) an event, (2) a procedure, or (3) a trigger. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in 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-2012-5339
Sources
- http://lists.opensuse.org/opensuse-updates/2012-11/msg00033.html
- http://www.phpmyadmin.net/home_page/security/PMASA-2012-6.php
- http://www.securityfocus.com/bid/55925
- https://github.com/phpmyadmin/phpmyadmin/commit/6ea8fad3f999bfdf79eb6fe31309592bca54d611
- https://github.com/phpmyadmin/phpmyadmin/commit/cfd688d2512df9827a8ecc0412fc264fc5bcb186