CVE-2019-6799
phpMyAdmin Arbitrary file read vulnerability
CVE-2019-6799 is a medium vulnerability (CVSS 5.9) in Phpmyadmin, published January 26, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 14.8%, the 96th percentile. Fixed in phpmyadmin/phpmyadmin 4.8.5.
- Severity
- 5.9 MediumCVSS 3.0, NVD
- Exploit chance
- 14.8%EPSS, 96th percentile
- Exploitation
- None known1 public exploit
- Fixed in
4.8.5phpmyadmin/phpmyadmin +29 more
Description
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
phpmyadmin/phpmyadminPackagist | 4.8 up to 4.8.5 | 4.8.5 |
phpmyadminAlpine:v3.10 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.11 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.12 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.13 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.14 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.15 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.16 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.17 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.18 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
phpmyadminAlpine:v3.19 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.20 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.21 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.22 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.23 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.24 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminAlpine:v3.9 | 4.0.0 up to 4.8.5-r0 | 4.8.5-r0 |
phpmyadminDebian:12 | before 4:4.9.1+dfsg1-2 | 4:4.9.1+dfsg1-2 |
phpmyadminDebian:13 | before 4:4.9.1+dfsg1-2 | 4:4.9.1+dfsg1-2 |
phpmyadminDebian:14 | before 4:4.9.1+dfsg1-2 | 4:4.9.1+dfsg1-2 |
phpmyadminDebian:8 | before 4:4.2.12-2+deb8u5, plus listed versions 4:4.2.12-24:4.2.12-2+deb8u14:4.2.12-2+deb8u24:4.2.12-2+deb8u34:4.2.12-2+deb8u4 | 4:4.2.12-2+deb8u5 |
phpmyadmin/phpmyadminPackagist | 4.8 up to 4.8.5, plus listed versions 4.8.04.8.0.14.8.14.8.24.8.34.8.4 | 4.8.5 |
phpmyadminUbuntu:Pro:14.04:LTS | All versions, plus listed versions 4:4.0.6-14:4.0.8-14:4.0.9-14:4.0.10-14:4.0.10-1ubuntu0.1 Show 4 moreShow less4:4.0.10-1ubuntu0.1+esm14:4.0.10-1ubuntu0.1+esm24:4.0.10-1ubuntu0.1+esm34:4.0.10-1ubuntu0.1+esm4 | None known |
phpmyadminUbuntu:Pro:16.04:LTS | All versions, plus listed versions 4:4.4.13.1-14:4.5.0.2-24:4.5.1-14:4.5.1-24:4.5.1-3 Show 13 moreShow less4:4.5.2-14:4.5.2-24:4.5.3.1-14:4.5.4-14:4.5.4.1-24:4.5.4.1-2ubuntu14:4.5.4.1-2ubuntu24:4.5.4.1-2ubuntu2.14:4.5.4.1-2ubuntu2.1+esm24:4.5.4.1-2ubuntu2.1+esm34:4.5.4.1-2ubuntu2.1+esm44:4.5.4.1-2ubuntu2.1+esm54:4.5.4.1-2ubuntu2.1+esm6 | None known |
phpmyadminUbuntu:18.04:LTS | before 4:4.6.6-5ubuntu0.5, plus listed versions 4:4.6.6-5 | 4:4.6.6-5ubuntu0.5 |
phpmyadminUbuntu:18.04:LTS From an advisory covering 14 CVEs | before 4:4.6.6-5ubuntu0.5, plus listed versions 4:4.6.6-5 | 4:4.6.6-5ubuntu0.5 |
phpMyAdminSUSE:Package Hub 12 From an advisory covering 2 CVEs | before 4.8.5-bp150.3.9.1 | 4.8.5-bp150.3.9.1 |
phpMyAdminSUSE:Package Hub 15 From an advisory covering 2 CVEs | before 4.8.5-bp150.3.9.1 | 4.8.5-bp150.3.9.1 |
phpMyAdminopenSUSE:Leap 15.0 From an advisory covering 2 CVEs | before 4.8.5-bp150.3.9.1 | 4.8.5-bp150.3.9.1 |
phpMyAdminopenSUSE:Tumbleweed From an advisory covering 31 CVEs | before 5.1.1-1.2 | 5.1.1-1.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | phpMyAdmin <4.8.5 - Local File Inclusion |
What each source reports
NVD Score used 5.9
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.
- Record
CVE-2019-6799- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
CVE ListNo score
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.
- Record
CVE-2019-6799- Updated
- 2026-11-02
EUVDEUVD-2022-3540No score
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.
- Record
EUVD-2022-3540- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c8wj-q36q-3wg4 5.9
phpMyAdmin Arbitrary file read vulnerability
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.
- Record
GHSA-c8wj-q36q-3wg4- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-6799 5.9
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.
- Record
ALPINE-CVE-2019-6799- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSV 5.9
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.
- Record
CVE-2019-6799- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2019-6799 5.9
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.
- Record
DEBIAN-CVE-2019-6799- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-c8wj-q36q-3wg4 5.9
phpMyAdmin Arbitrary file read vulnerability
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.
- Record
GHSA-c8wj-q36q-3wg4- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-6799 5.9
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.
- Record
UBUNTU-CVE-2019-6799- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2019:0194-1No score
Security update for phpMyAdmin
This update for phpMyAdmin to version 4.8.5 fixes the following issues:
Security issues fixed:
- CVE-2019-6799: Fixed an arbitrary file read vulnerability (boo#1123272)
- CVE-2019-6798: Fixed a SQL injection in the designer interface (boo#1123271)
Other changes:
- Fix rxport to SQL format not available
- Fix QR code not shown when adding two-factor authentication to a user account
- Fix issue with adding a new user in MySQL 8.0.11 and newer
- Fix frozen interface relating to Text_Plain_Sql plugin
- Fix missing table level operations tab
- Record
openSUSE-SU-2019:0194-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11171-1No score
phpMyAdmin-5.1.1-1.2 on GA media
These are all security issues fixed in the phpMyAdmin-5.1.1-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11171-1- Updated
- 2026-11-02
OSVUSN-4639-1No score
phpmyadmin vulnerabilities
It was discovered that there was a bug in the way phpMyAdmin handles the phpMyAdmin Configuration Storage tables. An authenticated attacker could use this vulnerability to cause phpmyAdmin to leak sensitive files. (CVE-2018-19968)
It was discovered that phpMyAdmin incorrectly handled user input. An attacker could possibly use this for an XSS attack. (CVE-2018-19970)
It was discovered that phpMyAdmin mishandled certain input. An attacker could use this vulnerability to execute a cross-site scripting (XSS) attack via a crafted URL. (CVE-2018-7260)
It was discovered that phpMyAdmin failed to sanitize certain input. An attacker could use this vulnerability to execute an SQL injection attack via a specially crafted database name. (CVE-2019-11768)
It was discovered that phpmyadmin incorrectly handled some requests. An attacker could possibly use this to perform a CSRF attack. (CVE-2019-12616)
It was discovered that phpMyAdmin failed to sanitize certain input. An attacker could use this vulnerability to execute an SQL injection attack via a specially crafted username. (CVE-2019-6798, CVE-2020-10804, CVE-2020-5504)
It was discovered that phpMyAdmin would allow sensitive files to be leaked if certain configuration options were set. An attacker could use this vulnerability to access confidential information. (CVE-2019-6799)
It was discovered that phpMyAdmin failed to sanitize certain input. An attacker could use this vulnerability to execute an SQL injection attack via a specially crafted database or table name. (CVE-2020-10802)
It was discovered that phpMyAdmin did not properly handle data from the database when displaying it. If an attacker were to insert specially- crafted data into certain database tables, the attacker could execute a cross-site scripting (XSS) attack. (CVE-2020-10803)
It was discovered that phpMyAdmin was vulnerable to an XSS attack. If a victim were to click on a crafted link, an attacker could run malicious JavaScript on the victim's system. (CVE-2020-26934)
It was discovered that phpMyAdmin did not properly handler certain SQL statements in the search feature. An attacker could use this vulnerability to inject malicious SQL into a query. (CVE-2020-26935)
It was discovered that phpMyAdmin did not properly sanitize certain input. An attacker could use this vulnerability to possibly execute an HTML injection or a cross-site scripting (XSS) attack. (CVE-2019-19617)
- Record
USN-4639-1- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, Nuclei, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
phpmyadmin.net/security/PMASA-2019-1
lists.debian.org/debian-lts-announce/2019/02/msg00039.html
securityfocus.com/bid/106736
nvd.nist.gov/vuln/detail/CVE-2019-6799
github.com/advisories/GHSA-c8wj-q36q-3wg4
security.alpinelinux.org/vuln/CVE-2019-6799
Show 54 moreShow less
security-tracker.debian.org/tracker/CVE-2019-6799
github.com/phpmyadmin/composer
ubuntu.com/security/CVE-2019-6799
github.com/phpmyadmin/phpmyadmin/commit/aeac90623e525057a7672ab3d98154b5c57c15ec
github.com/phpmyadmin/phpmyadmin/commit/c5e01f84ad48c5c626001cb92d7a95500920a900
ubuntu.com/security/notices/USN-4639-1
cve.org/CVERecord?id=CVE-2019-6799
ubuntu.com/security/CVE-2018-7260
ubuntu.com/security/CVE-2018-19968
ubuntu.com/security/CVE-2018-19970
ubuntu.com/security/CVE-2019-6798
ubuntu.com/security/CVE-2019-11768
ubuntu.com/security/CVE-2019-12616
ubuntu.com/security/CVE-2019-19617
ubuntu.com/security/CVE-2020-5504
ubuntu.com/security/CVE-2020-10802
ubuntu.com/security/CVE-2020-10803
ubuntu.com/security/CVE-2020-10804
ubuntu.com/security/CVE-2020-26934
ubuntu.com/security/CVE-2020-26935
lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/AUV4H47SLYAJV3ZDW2UOJQWF7VJAKJNU
bugzilla.suse.com/1123271
bugzilla.suse.com/1123272
suse.com/security/cve/CVE-2019-6798
suse.com/security/cve/CVE-2019-6799
suse.com/security/cve/CVE-2005-2869
suse.com/security/cve/CVE-2006-1804
suse.com/security/cve/CVE-2006-2031
suse.com/security/cve/CVE-2015-8980
suse.com/security/cve/CVE-2017-1000013
suse.com/security/cve/CVE-2017-1000014
suse.com/security/cve/CVE-2017-1000015
suse.com/security/cve/CVE-2017-1000016
suse.com/security/cve/CVE-2017-1000017
suse.com/security/cve/CVE-2017-1000018
suse.com/security/cve/CVE-2017-1000499
suse.com/security/cve/CVE-2018-10188
suse.com/security/cve/CVE-2018-12581
suse.com/security/cve/CVE-2018-12613
suse.com/security/cve/CVE-2018-15605
suse.com/security/cve/CVE-2018-19968
suse.com/security/cve/CVE-2018-19969
suse.com/security/cve/CVE-2018-19970
suse.com/security/cve/CVE-2018-7260
suse.com/security/cve/CVE-2019-11768
suse.com/security/cve/CVE-2019-12616
suse.com/security/cve/CVE-2019-12922
suse.com/security/cve/CVE-2019-18622
suse.com/security/cve/CVE-2020-10802
suse.com/security/cve/CVE-2020-10803
suse.com/security/cve/CVE-2020-10804
suse.com/security/cve/CVE-2020-26934
suse.com/security/cve/CVE-2020-26935
suse.com/security/cve/CVE-2020-5504