CVE-2019-6799
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.
What to do
Likely to be exploited: EPSS gives a 15% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Packagist, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | phpmyadmin | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | phpmyadmin | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | phpmyadmin | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | phpmyadmin | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | phpmyadmin | Fixed | 4:4.6.6-5ubuntu0.5 | UBUNTU-CVE-2019-6799 |
| Ubuntu 16.04 | phpmyadmin | Fix pending | UBUNTU-CVE-2019-6799 | |
| Ubuntu 14.04 | phpmyadmin | Fix pending | UBUNTU-CVE-2019-6799 | |
| Debian 14 | phpmyadmin | Fixed | 4:4.9.1+dfsg1-2 | DEBIAN-CVE-2019-6799 |
| Debian 13 | phpmyadmin | Fixed | 4:4.9.1+dfsg1-2 | DEBIAN-CVE-2019-6799 |
| Debian 12 | phpmyadmin | Fixed | 4:4.9.1+dfsg1-2 | DEBIAN-CVE-2019-6799 |
| Alpine Linux 3.24 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.23 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.22 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.21 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.20 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.19 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.18 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.17 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.16 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.15 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.14 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.13 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.12 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.11 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.10 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Alpine Linux 3.9 | phpmyadmin | Fixed | 4.8.5-r0 | ALPINE-CVE-2019-6799 |
| Packagist library | phpmyadmin/phpmyadmin | Fixed | 4.8.5 | GHSA-c8wj-q36q-3wg4 |
References
- https://www.phpmyadmin.net/security/PMASA-2019-1/
- https://lists.debian.org/debian-lts-announce/2019/02/msg00039.html
- http://www.securityfocus.com/bid/106736
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.