CVE-2020-10803
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
phpmyadmin/phpmyadmin (Packagist)from 3.4 before 4.9.5, from 5.0.0 before 5.0.2GitHub Advisory Database
phpmyadmin phpmyadminfrom 4.0.0 before 4.9.5, from 5.0.0 before 5.0.2NVD
debian debian_linux8.0NVD
fedoraproject fedora30, 31, 32NVD
opensuse backports_sle15.0NVD
opensuse leap15.1NVD
suse package_hubNot specifiedNVD
phpmyadmin (Bitnami)from 4.0.0 before 4.9.5, from 5.0.0 before 5.0.2Bitnami Vulnerability Database

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasemedium 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

https://www.phpmyadmin.net/security/PMASA-2020-4/advisory, patch, vendor-advisory
https://lists.debian.org/debian-lts-announce/2020/03/msg00028.htmladvisory, mailing-list, third-party-advisory, web
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.htmladvisory, broken-link, mailing-list, third-party-advisory, vendor-advisory, web
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.htmladvisory, broken-link, mailing-list, third-party-advisory, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/vendor-advisory, web
http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.htmladvisory, broken-link, mailing-list, third-party-advisory, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2020-10803advisory, web
https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10803.yamlweb
https://github.com/phpmyadmin/composerpackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJweb

Sources

SourceRecordLicence
CVE ListCVE-2020-10803 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-fcww-8wvc-38q9 changed 2024-04-24CC-BY-4.0
NVDCVE-2020-10803 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-PHPMYADMIN-2020-10803 changed 2026-09-08Apache-2.0