GHSA-c8wj-q36q-3wg4

Suggest an improvement
Source
https://github.com/advisories/GHSA-c8wj-q36q-3wg4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c8wj-q36q-3wg4/GHSA-c8wj-q36q-3wg4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c8wj-q36q-3wg4
Aliases
Published
2022-05-13T01:22:46Z
Modified
2024-04-24T18:42:01Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-04-24T18:14:13Z",
    "nvd_published_at":  "2019-01-26T17:29:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

Packagist / phpmyadmin/phpmyadmin

Package

Name
phpmyadmin/phpmyadmin
Purl
pkg:composer/phpmyadmin/phpmyadmin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.8
Fixed
4.8.5

Affected versions

4.*
4.8.0
4.8.0.1
4.8.1
4.8.2
4.8.3
4.8.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c8wj-q36q-3wg4/GHSA-c8wj-q36q-3wg4.json"