Skip to content
Fencer Intel
medium 5.9

CVE-2019-6799 json

phpMyAdmin Arbitrary file read vulnerability

published 7y ago modified 4mo ago also GHSA-c8wj-q36q-3wg4 , EUVD-2022-3540

cvss
5.9
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
14.8%
EPSS 14.8% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • packagist phpmyadmin/phpmyadmin 4.8.5
  • phpmyadmin Debian 14, Debian 13, Debian 12 4:4.9.1+dfsg1-2

debian advisories DEBIAN-CVE-2019-6799

  • phpmyadmin Ubuntu 18.04 LTS 4:4.6.6-5ubuntu0.5

ubuntu advisories UBUNTU-CVE-2019-6799

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • phpMyAdmin openSUSE Tumbleweed 5.1.1-1.2
  • phpMyAdmin Package Hub 15, Package Hub 12, openSUSE Leap 15.0 4.8.5-bp150.3.9.1

opensuse advisories openSUSE-SU-2024:11171-1openSUSE-SU-2019:0194-1

  • phpmyadmin Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 4.8.5-r0

alpine advisories ALPINE-CVE-2019-6799

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2019-6799 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-6799 updated cvss 6.8

phpMyAdmin: Multiple issues fixed in 4.8.5 version

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

14.83% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

CVSS scores

assigned by version score vector
NVD 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N
GitHub 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist phpmyadmin/phpmyadmin
>=4.8, <4.8.5
4.8.5

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.