Cross-site scripting in phpMyAdmin - CVE-2016-2560

 

Cross-site scripting in phpMyAdmin - CVE-2016-2560

Published: March 1, 2016 / Updated: August 9, 2020


Vulnerability identifier: #VU40434
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2016-2560
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

Vulnerability allows a remote attacker to perform XSS attacks.

The vulnerability is caused by an input validation error in phpMyAdmin 4.0.x before 4.0.10.15, 4.4.x before 4.4.15.5, and 4.5.x before 4.5.5.1 when processing (1) a crafted Host HTTP header, related to libraries/Config.class.php; (2) crafted JSON data, related to file_echo.php; (3) a crafted SQL query, related to js/functions.js; (4) the initial parameter to libraries/server_privileges.lib.php in the user accounts page; or (5) the it parameter to libraries/controllers/TableSearchController.class.php in the zoom search page. 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.


Affected software

phpMyAdmin
Fedora
php-udan11-sql-parser
phpMyAdmin4
phpMyAdmin

How to mitigate CVE-2016-2560

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

php-udan11-sql-parser - addressed in versions 3.4.0-1.fc22, 3.4.0-1.fc23
phpMyAdmin4 - update to 4.0.10.15-1.el5
phpMyAdmin - addressed in versions 4.0.10.15-1.el6, 4.4.15.5-1.el7, 4.5.5.1-1.fc22, 4.5.5.1-1.fc23

External References

Related Security Bulletins