SQL injection in phpMyAdmin - CVE-2020-10802

 

SQL injection in phpMyAdmin - CVE-2020-10802

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


Vulnerability identifier: #VU26289
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-10802
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 database and table names during search operations. A remote user can send a specially crafted database or table, trick the victim into searching that table and execute arbitrary SQL commands in database.


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-10802

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