Skip to content
Fencer Intel
high 8.8

CVE-2020-5504 in the critical feed json

phpMyAdmin SQL injection in user accounts page

published 6y ago modified 2mo ago also BIT-phpmyadmin-2020-5504 , EUVD-2022-3776 , GHSA-fgj8-93xx-f6g6

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
28.0%
EPSS 28.0% chance of exploitation in 30 days, percentile 98%
public exploits
1
Exploit-DB

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.

Patch / fix

  • packagist phpmyadmin/phpmyadmin 4.9.4, 5.0.1
  • bitnami phpmyadmin 4.9.4, 5.0.1
  • phpmyadmin phpmyadmin 4.9.4, 5.0.1
  • phpmyadmin Debian 14, Debian 13, Debian 12 4:4.9.4+dfsg1-1

debian advisories DEBIAN-CVE-2020-5504

  • phpmyadmin Ubuntu 18.04 LTS 4:4.6.6-5ubuntu0.5
  • phpmyadmin Ubuntu Pro 16.04 LTS 4:4.5.4.1-2ubuntu2.1+esm6

ubuntu advisories UBUNTU-CVE-2020-5504

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • phpMyAdmin openSUSE Tumbleweed 5.1.1-1.2
  • phpMyAdmin Package Hub 15 SP1, Package Hub 15, Package Hub 12 +1 more 4.9.4-bp151.3.12.1

opensuse advisories openSUSE-SU-2024:11171-1openSUSE-SU-2020:0056-1

  • phpmyadmin Alpine 3.11 4.9.4-r0
  • phpmyadmin Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 5.0.1-r0

alpine advisories ALPINE-CVE-2020-5504

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-5504 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-5504 updated cvss 8.1

phpmyadmin: SQL injection in the user accounts page

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-52451)

Exploit prediction

28.05% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-52451 phpMyAdmin 5.0.0 - SQL Injection webapps, 2025-12-03
  • cybersecurityworks.com https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist phpmyadmin/phpmyadmin
>=4.0.0, <4.9.4
>=5.0.0, <5.0.1
4.9.4
5.0.1
bitnami phpmyadmin
>=4.0.0, <4.9.4
>=5.0.0, <5.0.1
4.9.4
5.0.1

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.