Cross-site scripting in phpMyAdmin - CVE-2018-7260

 

Cross-site scripting in phpMyAdmin - CVE-2018-7260

Published: February 22, 2018 / Updated: February 26, 2018


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

Vulnerability details

The vulnerability allows a remote authenticated attacker to perform XSS attacks.

The vulnerability is caused by an input validation error in db_central_columns.php in phpMyAdmin before 4.7.8. A remote authenticated attacker can trick the victim to follow a specially 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
Arch Linux
Fedora
Ubuntu
phpmyadmin (Alpine package)
php-phpmyadmin-motranslator
php-phpmyadmin-sql-parser
phpMyAdmin
phpmyadmin (Ubuntu package)

How to mitigate CVE-2018-7260

Update to version 4.7.8

phpmyadmin (Alpine package) - update to 4.7.8-r0
php-phpmyadmin-motranslator - addressed in versions 4.0-1.fc26, 4.0-1.fc27
php-phpmyadmin-sql-parser - addressed in versions 4.2.4-3.fc26, 4.2.4-3.fc27
phpMyAdmin - addressed in versions 4.4.15.10-3.el7, 4.7.8-1.fc26, 4.7.8-1.fc27
phpmyadmin (Ubuntu package) - update to 4:4.6.6-5ubuntu0.5

External References

Related Security Bulletins