{"id":"CVE-2020-5504","aliases":["CVE-2020-5504","GHSA-fgj8-93xx-f6g6","BIT-PHPMYADMIN-2020-5504"],"related":[],"kind":"vulnerability","state":"published","title":"phpMyAdmin SQL injection in user accounts page","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En phpMyAdmin versiones 4 anteriores a 4.9.4 y versiones  5 anteriores a 5.0.1, una inyección SQL se presenta en la página de cuentas de usuario. Un usuario malicioso podría inyectar SQL personalizado en lugar de su propio nombre de usuario cuando crea consultas en esta página. Un atacante necesita tener una cuenta MySQL válida para acceder al servidor.","source":"nvd"}],"published":"2020-01-09T21:56:22.000Z","modified":"2026-09-08T08:46:28.484Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.9.4"}],"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","purl":"pkg:composer/phpmyadmin/phpmyadmin","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.1"}],"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","purl":"pkg:composer/phpmyadmin/phpmyadmin","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.9.4"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.1"}],"vendor":"phpmyadmin","product":"phpmyadmin","cpe":"cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12"}],"vendor":"suse","product":"suse_linux_enterprise_server","cpe":"cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.9.4"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.1"}],"ecosystem":"Bitnami","package":"phpmyadmin","purl":"pkg:bitnami/phpmyadmin","source":"bitnami"}],"references":[{"url":"https://www.phpmyadmin.net/security/PMASA-2020-1/","tags":["advisory","patch","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md","tags":["web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5504","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/phpmyadmin/composer","tags":["package"],"sources":["ghsa"]},{"url":"https://www.phpmyadmin.net/security/PMASA-2020-1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5504","url":"https://www.cve.org/CVERecord?id=CVE-2020-5504","licence":"CVE Terms of Use","modified":"2025-04-16T14:13:38.775Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fgj8-93xx-f6g6","url":"https://github.com/advisories/GHSA-fgj8-93xx-f6g6","licence":"CC-BY-4.0","modified":"2025-04-16T16:30:05.925Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5504","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5504","licence":"Public domain","modified":"2026-06-17T03:21:30.570Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHPMYADMIN-2020-5504","url":"https://osv.dev/vulnerability/BIT-PHPMYADMIN-2020-5504","licence":"Apache-2.0","modified":"2026-09-08T08:46:28.484Z"}],"updatedAt":"2026-11-25T22:57:50.502Z","epss":{"score":0.28046,"percentile":0.9814,"date":"2026-12-01T12:00:22.000Z"}}