Cross-site scripting in phpMyAdmin - CVE-2012-4345
Published: August 22, 2012 / Updated: July 28, 2020
Vulnerability details
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 (1) a crafted table name during table creation, or a (2) Empty link or (3) Drop link for a crafted table name. 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.
Affected software
phpmyadmin (Alpine package)
phpMyAdmin3
phpMyAdmin
Fedora
How to mitigate CVE-2012-4345
phpmyadmin (Alpine package) - update to 3.4.11.1-r0
phpMyAdmin3 - update to 3.5.2.2-1.el5
phpMyAdmin - update to 3.5.2.2-1.el6