Advisory

GHSA-c8wj-q36q-3wg4

Also known as: CVE-2019-6799

Summary

phpMyAdmin Arbitrary file read vulnerability

Details

An issue was discovered in phpMyAdmin before 4.8.5. When the AllowArbitraryServer configuration setting is set to true, with the use of a rogue MySQL server, an attacker can read any file on the server that the web server's user can access. This is related to the mysql.allow_local_infile PHP configuration, and the inadvertent ignoring of "options(MYSQLI_OPT_LOCAL_INFILE" calls.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:22 UTC
Modified
2024-04-24 18:42 UTC

Affected packages and fixes

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.8, fixed 4.8.5 (ecosystem)

Fixed versions

4.8.5

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