Cross-site scripting in phpMyAdmin - CVE-2011-4782
Published: December 22, 2011 / Updated: July 28, 2020
phpMyAdmin
Detailed vulnerability description
Vulnerability allows a remote attacker to perform XSS attacks.
The vulnerability is caused by an input validation error in libraries/config/ConfigFile.class.php in the setup interface in phpMyAdmin 3.4.x before 3.4.9 when processing host parameter. A remote 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-2011-4782
Sources
- http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071523.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071537.html
- http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0e707906e69ce90c4852a0fce2a0fac7db86a3cd
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:198
- http://www.phpmyadmin.net/home_page/security/PMASA-2011-19.php
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71938