5.4medium
phpMyAdmin SQL injection vulnerability
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.37% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-fcww-8wvc-38q9BIT-PHPMYADMIN-2020-10803
Description
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was discovered where malicious code could be used to trigger an XSS attack through retrieving and displaying results (in tbl_get_field.php and libraries/classes/Display/Results.php). The attacker must be able to insert crafted data into certain database tables, which when retrieved (for instance, through the Browse tab) can trigger the XSS attack.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| phpmyadmin/phpmyadmin (Packagist) | from 3.4 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 |
| debian debian_linux | 8.0 | 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 | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium 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 discovered where malicious code could be used to trigger an XSS attack through retrieving and displaying results (in tbl_get_field.php and libraries/classes/Display/Results.php). The attacker must be able to insert crafted data into certain database tables, which when retrieved (for instance, through the Browse tab) can trigger the XSS attack.
NVD (es)
En phpMyAdmin versiones 4.x anteriores a 4.9.5 y versiones 5.x anteriores a 5.0.2, se detectó una vulnerabilidad de inyección SQL donde un código malicioso podría ser usado para desencadenar un ataque de tipo XSS mediante la recuperación y visualización de resultados (en archivo tbl_get_field.php y biblioteca libraries/clases/Display/Results.php). El atacante debe poder insertar datos diseñados en determinadas tablas de la base de datos, que cuando se recuperaban (por ejemplo, por medio de la pestaña Browse) pueden desencadenar el ataque de tipo XSS.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-10803 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fcww-8wvc-38q9 changed 2024-04-24 | CC-BY-4.0 |
| NVD | CVE-2020-10803 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-PHPMYADMIN-2020-10803 changed 2026-09-08 | Apache-2.0 |