Advisory

GHSA-fgj8-93xx-f6g6

Also known as: BIT-phpmyadmin-2020-5504, CVE-2020-5504

Summary

phpMyAdmin SQL injection in user accounts page

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:05 UTC
Modified
2025-04-16 16:30 UTC

Affected packages and fixes

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.9.4 (ecosystem)

Fixed versions

4.9.4

Fix

The export has no generic command for this ecosystem.

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.0.1 (ecosystem)

Fixed versions

5.0.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences