SQL injection in phpMyAdmin - CVE-2020-10804

 

SQL injection in phpMyAdmin - CVE-2020-10804

Published: March 21, 2020 / Updated: March 23, 2020


Vulnerability identifier: #VU26288
CSH Severity: Low
CVSS v4: 2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-10804
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of usernames. A remote authenticated user can create a specially crafted username and use it to execute arbitrary SQL commands within the application database, if the victim tries to edit that username.

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
phpmyadmin (Alpine package)
phpmyadmin (Ubuntu package)
phpMyAdmin
SUSE Package Hub for SUSE Linux Enterprise
SUSE Linux
Opensuse
Ubuntu
Fedora

How to mitigate CVE-2020-10804

Install updates from vendor's website.

phpMyAdmin - addressed in versions 4.9.5, 5.0.2
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
phpMyAdmin - addressed in versions 4.9.5-1.fc30, 5.0.2-1.fc31, 5.0.2-2.fc32

External References

Related Security Bulletins