CVE-2020-5504
A public proof of concept exists; no exploitation attested.
- Published2020-01-09
- Fixed in5.0.1 · 4.9.4
- WeaknessCWE-89
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2020-01-0922:15CVE publishedNVD
- 2025-12-03Exploit-DB entryExploit-DB
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2020-5504?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2020-5504?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.0 | ≥ 5.0.0, < 5.0.1 | 5.0.1 | NVD · OSV |
| 4.x | ≥ 4.0.0, < 4.9.4 | 4.9.4 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.x | = 12 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- phpmyadminUbuntu:Pro:20.04:LTSall versions · fixed in 4:4.9.5+dfsg1-2ubuntu0.1~esm1
- phpmyadminUbuntu:Pro:18.04:LTSall versions · fixed in 4:4.6.6-5ubuntu0.5+esm1
- phpmyadminUbuntu:Pro:16.04:LTSall versions · fixed in 4:4.5.4.1-2ubuntu2.1+esm6
- phpmyadminUbuntu:Pro:14.04:LTSall versions · fixed in 4:4.0.10-1ubuntu0.1+esm4
- phpmyadminUbuntu:26.10all versions · no fixed version listed
- phpmyadminUbuntu:26.04:LTSall versions · no fixed version listed
- phpmyadminUbuntu:25.10all versions · no fixed version listed
- phpmyadminUbuntu:24.04:LTSall versions · no fixed version listed
27 more package ranges on OSV.dev
Vendor advisories
- CVE-2020-5504 Red Hat Product Security
phpmyadmin: SQL injection in the user accounts page
Fix
- Update Phpmyadmin to 5.0.1 · 4.9.4
Advisories and patches
- www.phpmyadmin.netPatch · Vendor Advisory
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof-of-concept repositories
- 2 repositories, unverifiedxMohamed0/CVE-2020-5504-phpMyAdminCerberusMrXi/phpMyAdmin-CVE-2020-5504-Exploit PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.18.8read 2026-10-23
- NVDCVSS 2.06.5read 2026-10-23
- NVDweakness (CWE)CWE-89read 2026-10-23
- FIRST EPSSEPSS score28.0 %read 2026-11-03
- PoC-in-GitHubproof of concept2read 2026-11-03
- Exploit-DBdetectionread 2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2024-04-24
Identifiers
- BIT-phpmyadmin-2020-5504same flawBitnami · Apache-2.0
- EUVD-2022-3776same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-fgj8-93xx-f6g6same flawGitHub Advisory Database · CC-BY-4.0
- DLA-2060-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2020-0033advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2020:0056-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11171-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-4639-1advisory covering several CVEsUbuntu
- USN-4843-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2020-01-09
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-fgj8-93xx-f6g6
Frequently asked questions
What is CVE-2020-5504?
Is CVE-2020-5504 actively exploited?
What is the CVSS score for CVE-2020-5504?
Running phpmyadmin? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-fgj8-93xx-f6g6
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0