GitHub Advisoryadvisory · Packagist

GHSA-fgj8-93xx-f6g6 phpMyAdmin SQL injection in user accounts page

HIGH Published 2022-05-24 Modified 2025-04-16 Official page ↗
Aliases
CVE-2020-5504
Ecosystem
Packagist
Packages
phpmyadmin/phpmyadmin
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2024-04-24

Affected packages

• Packagist phpmyadmin/phpmyadmin: >= 4.0.0, < 4.9.4 → fixed in 4.9.4 • Packagist phpmyadmin/phpmyadmin: >= 5.0.0, < 5.0.1 → fixed in 5.0.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-5504 In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. vulnerability

Weakness · CWE (1)

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

References