high8.8Public exploit code
CVE-2020-5504
phpMyAdmin SQL injection in user accounts page
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- phpMyAdmin 5.0.0 - SQL Injection2025-12-03 · webapps · php
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | phpmyadmin/phpmyadmin | >= 4.0.0, < 4.9.4 | 4.9.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Phpmyadmin | Phpmyadmin | from 4.0.0 before 4.9.4 from 5.0.0 before 5.0.1 |
| Suse | Suse Linux Enterprise Server | Version 12 |
| Debian | Debian Linux | Version 8.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/
- https://github.com/advisories/GHSA-fgj8-93xx-f6g6
- https://nvd.nist.gov/vuln/detail/CVE-2020-5504
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml
- https://www.phpmyadmin.net/security/PMASA-2020-1