SQL injection in phpMyAdmin - CVE-2020-26935

 

SQL injection in phpMyAdmin - CVE-2020-26935

Published: October 10, 2020 / Updated: October 16, 2020


Vulnerability identifier: #VU47490
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-26935
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 user-supplied data within the SearchController. 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
Gentoo Linux
SUSE Linux
Opensuse
Ubuntu
Fedora
SUSE Package Hub for SUSE Linux Enterprise
phpmyadmin (Ubuntu package)
phpMyAdmin

How to mitigate CVE-2020-26935

Install updates from vendor's website.

phpMyAdmin - addressed in versions 4.9.6, 5.0.3
phpmyadmin (Ubuntu package) - update to 4:4.6.6-5ubuntu0.5
phpMyAdmin - addressed in versions 5.0.3-1.fc31, 5.0.3-1.fc32, 5.0.3-1.fc33

External References

Related Security Bulletins