Vulnerability · Published Mar 22, 2020 · Assigned by mitre
CVE-2020-10802
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 1.8% (higher than 79% 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 has been discovered where certain parameters are not properly escaped when generating certain queries for search actions in libraries/classes/Controllers/Table/TableSearchController.php. An attacker can generate a crafted database or table name. The attack can be performed if a user attempts certain search operations on the malicious database or table.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10802 |
| Alpine:v3.21 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10802 |
| Alpine:v3.22 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10802 |
| Alpine:v3.23 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10802 |
| Alpine:v3.24 | phpmyadmin | 5.0.2-r0 | ALPINE-CVE-2020-10802 |
| Debian:12 | phpmyadmin | 4:4.9.5+dfsg1-1 | DEBIAN-CVE-2020-10802 |
| Debian:13 | phpmyadmin | 4:4.9.5+dfsg1-1 | DEBIAN-CVE-2020-10802 |
| Debian:14 | phpmyadmin | 4:4.9.5+dfsg1-1 | DEBIAN-CVE-2020-10802 |
| Packagist | phpmyadmin/phpmyadmin | 5.0.2 | GHSA-f4cr-3xmc-2wpm |
| Packagist | phpmyadmin/phpmyadmin | 4.9.5 | GHSA-f4cr-3xmc-2wpm |
Affected products (as reported)
References
- https://www.phpmyadmin.net/security/PMASA-2020-3/ x_refsource_MISC
- [debian-lts-announce] 20200322 [SECURITY] [DLA 2154-1] phpmyadmin security update mailing-list, x_refsource_MLIST
- 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