SQL injection in phpMyAdmin - CVE-2020-5504
Published: January 8, 2020 / Updated: November 16, 2021
Vulnerability details
The vulnerability allows a remote user to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data in the user accounts page. A remote authenticated user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Affected software
phpmyadmin (Alpine package)
phpmyadmin (Ubuntu package)
SUSE Package Hub for SUSE Linux Enterprise
Ubuntu
How to mitigate CVE-2020-5504
phpmyadmin (Alpine package) - addressed in versions 4.9.5-r0, 5.0.2-r0
phpmyadmin (Ubuntu package) - update to 4:4.6.6-5ubuntu0.5