# CVE-2020-5504

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 03-12-2025)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2020-01-09 · Modified: 2025-04-16
- Aliases: MGASA-2020-0033, UBUNTU-CVE-2020-5504, DEBIAN-CVE-2020-5504, DLA-2060-1, ALPINE-CVE-2020-5504
- Record: https://cvemate.com/vulnerability/CVE-2020-5504 · JSON: https://cvemate.com/vulnerability/CVE-2020-5504/json

## 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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 28.046%, percentile 98.15%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference, exploit-database)

## Affected

- alpine phpmyadmin (Alpine Linux): ≥ 4.0.0, \< 5.0.1-r0 \| ≥ 4.0.0, \< 4.9.4-r0 \| ≥ 5.0.0, \< 5.0.1-r0
- debian phpmyadmin (Debian): \< 4:4.9.4+dfsg1-1 \| \< 4:4.2.12-2+deb8u8
- ubuntu phpmyadmin (Ubuntu): \< 4:4.5.4.1-2ubuntu2.1+esm6 \| \< 4:4.6.6-5ubuntu0.5 \| All versions (No fix recorded)
- debian debian\_linux: 8.0
- mageia phpmyadmin (Mageia): \< 4.9.4-1.mga7
- phpmyadmin phpmyadmin: ≥ 4.0.0, \< 4.9.4 \| ≥ 5.0.0, \< 5.0.1
- suse suse\_linux\_enterprise\_server: 12

## References

- <https://www.phpmyadmin.net/security/PMASA-2020-1/>
- <http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html>
- <https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html>
- <https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html>
- <https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md>
- <https://advisories.mageia.org/MGASA-2020-0033.html>
- <https://bugs.mageia.org/show_bug.cgi?id=26036>
- <https://www.phpmyadmin.net/news/2020/1/8/phpmyadmin-494-and-501-are-released/>
- <https://ubuntu.com/security/CVE-2020-5504>
- <https://github.com/phpmyadmin/phpmyadmin/commit/c86acbf3ed49f69cf38b31879886dd5eb86b6983>
- <https://gist.github.com/ibennetch/4c1b701f4b766e4dd5556e8e26200b6b>
- <https://ubuntu.com/security/notices/USN-4639-1>
- <https://ubuntu.com/security/notices/USN-4843-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-5504>
- <https://security-tracker.debian.org/tracker/CVE-2020-5504>
- <https://security.alpinelinux.org/vuln/CVE-2020-5504>

---

Data as of 2026-12-05T03:16:25.980Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
