8.0high
phpMyAdmin SQL Injection
- Severity
- 8.0high CVSS:3.1 by NVD
- Exploit likelihood
- 2.35% (higher than 84% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-h65r-8fp8-w7cxBIT-PHPMYADMIN-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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| phpmyadmin/phpmyadmin (Packagist) | from 4.9.0 before 4.9.5, from 5.0.0 before 5.0.2 | GitHub Advisory Database |
| phpmyadmin phpmyadmin | from 4.0.0 before 4.9.5, from 5.0.0 before 5.0.2 | NVD |
| fedoraproject fedora | 30, 31, 32 | NVD |
| opensuse backports_sle | 15.0 | NVD |
| opensuse leap | 15.1 | NVD |
| suse package_hub | Not specified | NVD |
| phpmyadmin (Bitnami) | from 4.0.0 before 4.9.5, from 5.0.0 before 5.0.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.0medium CVSS:2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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).
NVD (es)
En phpMyAdmin versiones 4.x anteriores a 4.9.5 y versiones 5.x anteriores a 5.0.2, se encontró una vulnerabilidad de inyección SQL en la recuperación del nombre de usuario actual (en las bibliotecas libraries/classes/Server/Privileges.php y libraries/classes/UserPassword.php). Un usuario malicioso con acceso al servidor podría crear un nombre de usuario diseñado y luego engañar a la víctima para que realice acciones específicas con esa cuenta de usuario (tal y como editar sus privilegios).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-10804 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h65r-8fp8-w7cx changed 2024-04-24 | CC-BY-4.0 |
| NVD | CVE-2020-10804 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-PHPMYADMIN-2020-10804 changed 2026-09-08 | Apache-2.0 |