Advisory

GHSA-f4cr-3xmc-2wpm

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

Summary

phpMyAdmin SQL injection vulnerability

Details

In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability has been discovered where certain parameters are not properly escaped when generating certain queries for search actions in libraries/classes/Controllers/Table/TableSearchController.php. An attacker can generate a crafted database or table name. The attack can be performed if a user attempts certain search operations on the malicious database or table.

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