{"id":"CVE-2020-5504","published":"2020-01-09T21:56:22Z","modified":"2025-04-16T14:13:38Z","title":"In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.28046,"percentile":0.9815,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.phpmyadmin.net/security/PMASA-2020-1/","tags":[]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html","tags":["mailing-list"]},{"url":"https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html","tags":[]},{"url":"https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md","tags":[]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.63},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-12-03"},"pocGithub":{"count":2,"skipped":0,"earliest":"2021-11-14","earliestUrl":"https://github.com/xMohamed0/CVE-2020-5504-phpMyAdmin","repos":[{"name":"xMohamed0/CVE-2020-5504-phpMyAdmin","url":"https://github.com/xMohamed0/CVE-2020-5504-phpMyAdmin","stars":1,"created":"2021-11-14"},{"name":"CerberusMrXi/phpMyAdmin-CVE-2020-5504-Exploit","url":"https://github.com/CerberusMrXi/phpMyAdmin-CVE-2020-5504-Exploit","stars":0,"created":"2026-08-23"}]},"first":{"date":"2021-11-14","source":"PoC-in-GitHub","url":"https://github.com/xMohamed0/CVE-2020-5504-phpMyAdmin"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=4.0.0, <4.9.4",">=5.0.0, <5.0.1"],"patched":["4.9.4","5.0.1"],"from":["GHSA-fgj8-93xx-f6g6"],"provenance":"source"}],"summary":{"text":"The SQL injection flaw lives in the user accounts page of phpMyAdmin 4 before 4.9.4 and phpMyAdmin 5 before 5.0.1, where a malicious user can inject custom SQL in place of their own username when building queries to that page. To exploit it, an attacker must already hold a valid MySQL account on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:55Z"},"euvd":{"id":"EUVD-2022-3776","exploited":false,"provenance":"source"},"exploits":[{"id":52451,"url":"https://www.exploit-db.com/exploits/52451","title":"phpMyAdmin 5.0.0 - SQL Injection","date":"2025-12-03","verified":false,"provenance":"source"}],"exploitRefs":["https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md"],"lineage":{"packageHistory":[{"cve":"CVE-2019-12922","published":"2019-09-13","fixed":"4.9.1","kev":false},{"cve":"CVE-2019-18622","published":"2019-11-22","fixed":"4.9.2","kev":false},{"cve":"CVE-2019-19617","published":"2019-12-06","fixed":"4.9.2","kev":false,"link":{"from":"CVE-2019-19617","to":"CVE-2020-5504","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"4.9.2","toFixed":"4.9.4","daysApart":34}]}},{"cve":"CVE-2020-5504","published":"2020-01-09","fixed":"5.0.1","kev":false},{"cve":"CVE-2020-10802","published":"2020-03-22","fixed":"5.0.2","kev":false,"link":{"from":"CVE-2020-5504","to":"CVE-2020-10802","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"4.9.4","toFixed":"4.9.5","daysApart":73}]}},{"cve":"CVE-2020-10803","published":"2020-03-22","fixed":"5.0.2","kev":false,"link":{"from":"CVE-2020-5504","to":"CVE-2020-10803","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"4.9.4","toFixed":"4.9.5","daysApart":73}]}},{"cve":"CVE-2020-10804","published":"2020-03-22","fixed":"5.0.2","kev":false,"link":{"from":"CVE-2020-5504","to":"CVE-2020-10804","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"4.9.4","toFixed":"4.9.5","daysApart":73}]}}],"package":"Packagist:phpmyadmin/phpmyadmin"}}