Advisory

GHSA-fcww-8wvc-38q9

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

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 was discovered where malicious code could be used to trigger an XSS attack through retrieving and displaying results (in tbl_get_field.php and libraries/classes/Display/Results.php). The attacker must be able to insert crafted data into certain database tables, which when retrieved (for instance, through the Browse tab) can trigger the XSS attack.

Severity

Medium Basis: The source's own band: MODERATE

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 3.4, 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