CVE-2020-10804
Description
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was found in retrieval of the current username (in libraries/classes/Server/Privileges.php and libraries/classes/UserPassword.php). A malicious user with access to the server could create a crafted username, and then trick the victim into performing specific actions with that user account (such as editing its privileges).
How to fix
- phpmyadmin phpmyadmin4.9.5, 5.0.2 or later
- phpmyadmin/phpmyadmin4.9.5, 5.0.2 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phpmyadmin phpmyadmin | 4.0.0 ≤ v < 4.9.5, 5.0.0 ≤ v < 5.0.2 | 4.9.5, 5.0.2 |
| fedoraproject fedora | 30, 31, 32 | — |
| opensuse backports_sle | 15.0 | — |
| opensuse leap | 15.1 | — |
| suse package_hub | No range specified | — |
| phpmyadmin/phpmyadminPackagist | 4.9.0 ≤ v < 4.9.5, 5.0.0 ≤ v < 5.0.2 | 4.9.5, 5.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.