CVE-2020-5504
CVE-2020-5504 is a high-severity vulnerability in Phpmyadmin with a CVSS 3.x base score of 8.8. Its EPSS exploit-prediction score of 39% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-89.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v2: 6.5
- EPSS exploit prediction: 39% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-89
- Affected product: Phpmyadmin
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2020-5504?
- CVE-2020-5504 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2020-5504 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 39% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-5504?
- CVE-2020-5504 primarily affects Phpmyadmin. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2020-5504?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-5504 published?
- CVE-2020-5504 was published on 2020-01-09 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html
- https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md
- https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html
- https://www.phpmyadmin.net/security/PMASA-2020-1/
Affected products (3)
- cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
More vulnerabilities in Phpmyadmin
- CVE-2008-7252 — Critical (CVSS 10.0): libraries/File.class.php in phpMyAdmin 2.11.x before 2.11.10 uses predictable filenames for temporary files, which has…
- CVE-2008-7251 — Critical (CVSS 10.0): libraries/File.class.php in phpMyAdmin 2.11.x before 2.11.10 creates a temporary directory with 0777 permissions, which…
- CVE-2007-0203 — Critical (CVSS 10.0): Multiple unspecified vulnerabilities in phpMyAdmin before 2.9.2-rc1 have unknown impact and attack vectors.
- CVE-2004-1147 — Critical (CVSS 10.0): phpMyAdmin 2.6.0-pl2, and other versions before 2.6.1, with external transformations enabled, allows remote attackers…
- CVE-2020-22452 — Critical (CVSS 9.8): SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via…
- CVE-2020-26935 — Critical (CVSS 9.8): An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection…
All CVEs affecting Phpmyadmin →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-20030 — Critical (CVSS 10.0): As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Crosswork engineering team…
- CVE-2026-72811 — Critical (CVSS 10.0): SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query…
- CVE-2026-72851 — Critical (CVSS 10.0): Budibase before 3.40.0 contains an unauthenticated SQL injection vulnerability in webhook-triggered automations with…
- CVE-2026-72899 — Critical (CVSS 10.0): Metabase allows an unauthenticated attacker to inject arbitrary SQL via a publicly shared card or dashboard that…
- CVE-2026-72898 — Critical (CVSS 10.0): Metabase allows a remote, unauthenticated attacker to inject arbitrary SQL via the '/reset_password' database endpoint…
- CVE-2026-48330 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an SQL Command ('SQL…