Announcement-ID: PMASA-2020-2
Date: 2020-03-20
Updated: 2020-03-22
SQL injection with processing username
An SQL injection vulnerability was found in how phpMyAdmin retrieves the current username.
A malicious user with access to the server could create a specially-crafted username and then trick the victim in to performing specific actions with that user account (such as editing its privileges).
This flaw also could generate server errors for users with certain characters who try to change their MySQL passwords.
Because of the specific steps required to exploit this, we consider this vulnerability to be of moderate severity
phpMyAdmin 4.9.x releases prior to 4.9.5 and the 5.0.x releases prior to 5.0.2 are affected.
Upgrade to phpMyAdmin 4.9.5 or 5.0.2 or newer or apply patch listed below.
Thanks to hoangn144_VCS and bluebird for reporting these vulnerabilities.
Assigned CVE ids: CVE-2020-10804
CWE ids: CWE-661
The following commits have been made to fix this issue:
For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.