Skip to content

phpMyAdmin SQL injection in user accounts page

High severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Apr 24, 2024

Package

composer phpmyadmin/phpmyadmin (Composer)

Affected versions

>= 4.0.0, < 4.9.4
>= 5.0.0, < 5.0.1

Patched versions

4.9.4
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.

References

Published by the National Vulnerability Database Jan 9, 2020
Published to the GitHub Advisory Database May 24, 2022
Reviewed Apr 24, 2024
Last updated Apr 24, 2024

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-5504

GHSA ID

GHSA-fgj8-93xx-f6g6

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.