Stored cross-site scripting in phpMyAdmin - CVE-2019-19617
Published: January 8, 2020
Vulnerability details
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of certain GIT information in libraries/classes/Display/GitRevision.php and libraries/classes/Footer.php scrips. A remote attacker can inject 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
Debian Linux
Ubuntu
phpmyadmin (Alpine package)
phpmyadmin (Ubuntu package)
phpmyadmin (Debian package)
How to mitigate CVE-2019-19617
phpmyadmin (Ubuntu package) - addressed in versions 4:4.0.10-1ubuntu0.1+esm4, 4:4.5.4.1-2ubuntu2.1+esm6, 4:4.6.6-5ubuntu0.5, 4:4.6.6-5ubuntu0.5+esm1, 4:4.9.5+dfsg1-2ubuntu0.1~esm1
phpmyadmin (Debian package) - addressed in versions 4:4.2.12-2+deb8u7, 4:4.6.6-4+deb9u2
External References
- https://github.com/phpmyadmin/phpmyadmin/commit/1119de642b136d20e810bb20f545069a01dd7cc9
- https://github.com/phpmyadmin/phpmyadmin/compare/RELEASE_4_9_1...RELEASE_4_9_2
- https://lists.debian.org/debian-lts-announce/2019/12/msg00006.html
- https://www.phpmyadmin.net/news/2019/11/22/phpmyadmin-492-released/