Vulnerability · Published Mar 22, 2020 · Assigned by mitre
CVE-2020-10804
High 8.0
In plain English
A high-severity security flaw in the phpmyadmin package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10804 |
| Alpine:v3.21 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10804 |
| Alpine:v3.22 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10804 |
| Alpine:v3.23 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10804 |
| Alpine:v3.24 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10804 |
| Debian:12 | phpmyadmin | 4:4.9.5+dfsg1-1 | DEBIAN-CVE-2020-10804 |
| Debian:13 | phpmyadmin | 4:4.9.5+dfsg1-1 | DEBIAN-CVE-2020-10804 |
| Debian:14 | phpmyadmin | 4:4.9.5+dfsg1-1 | DEBIAN-CVE-2020-10804 |
| Packagist | phpmyadmin/phpmyadmin | 5.0.2 | GHSA-h65r-8fp8-w7cx |
| Packagist | phpmyadmin/phpmyadmin | 4.9.5 | GHSA-h65r-8fp8-w7cx |
Affected products (as reported)
References
- https://www.phpmyadmin.net/security/PMASA-2020-2/ x_refsource_MISC
- openSUSE-SU-2020:0405 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:0427 vendor-advisory, x_refsource_SUSE
- FEDORA-2020-d7b0a5a84a vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-25f3aea389 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-e60ce63865 vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2020:1806 vendor-advisory, x_refsource_SUSE