Advisory

GHSA-h65r-8fp8-w7cx

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

Summary

phpMyAdmin SQL Injection

Details

In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was found in retrieval of the current username (in libraries/classes/Server/Privileges.php and libraries/classes/UserPassword.php). A malicious user with access to the server could create a crafted username, and then trick the victim into performing specific actions with that user account (such as editing its privileges).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:12 UTC
Modified
2024-04-24 17:57 UTC

Affected packages and fixes

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.9.0, fixed 4.9.5 (ecosystem)

Fixed versions

4.9.5

Fix

The export has no generic command for this ecosystem.

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.0.2 (ecosystem)

Fixed versions

5.0.2

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