SQL injection in phpMyAdmin - CVE-2019-6798

 

SQL injection in phpMyAdmin - CVE-2019-6798

Published: January 28, 2019


Vulnerability identifier: #VU17232
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-2019-6798
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to insufficient sanitization of user-supplied data when processing a specially crafted username within the designer feature. A remote attacker 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
phpmyadmin (Alpine package)
phpmyadmin (Ubuntu package)
phpMyAdmin
Opensuse
Ubuntu
Fedora

How to mitigate CVE-2019-6798

Update to version 4.8.5.

phpMyAdmin - update to 4.8.5
phpmyadmin (Alpine package) - update to 4.8.5-r0
phpmyadmin (Ubuntu package) - update to 4:4.6.6-5ubuntu0.5
phpMyAdmin - addressed in versions 4.8.5-1.fc28, 4.8.5-1.fc29

External References

Related Security Bulletins