SQL Injection in phpMyAdmin
CVE-2020-5504
In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. A malicious user could inject custom SQL in place of their own username when creating queries to this page. An attacker must have a valid MySQL account to access the server.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.280, 98.1th percentile (scored ); down from 0.390 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.390 · newest: 0.280 · change: -0.110
Affected products
- phpMyAdmin
- Debian Linux — versions 8.0
- SUSE Linux Enterprise Server — versions 12
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- xMohamed0/CVE-2020-5504-phpMyAdmin (1 star, last pushed 2021-11-14)
- CerberusMrXi/phpMyAdmin-CVE-2020-5504-Exploit (last pushed 2026-08-23): Professional PHPMyAdmin 5.0.0 SQL Injection (CVE-2020-5504) exploitation framework with automated database enumeration, table extraction, and data dumping capabilities. Features blind injection, prox…
Also mentioned in 24 other repositories (ARPSyndicate/cvemon, CnHack3r/Penetration_PoC, EchoGin404/-, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.phpmyadmin.net/security/PMASA-2020-1/ (Patch, Vendor Advisory)
- openSUSE-SU-2020:0056 (vendor-advisory, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20200115 [SECURITY] [DLA 2060-1] phpmyadmin security update (mailing-list, Mailing List, Third Party Advisory)
- cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html (Exploit, Third Party Advisory)
- github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md
This CVE has public exploit evidence. See the latest CVEs with public exploits.