Every CVE Search/ Get API key

CVE-2019-6799

phpMyAdmin Arbitrary file read vulnerability

5.9 MediumFix available

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

14.8%Up 13.9 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:P/I:N/A:N
Updated
2026-11-02
CVE List No 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-3540 No 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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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-1 No 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-1 No 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-1 No 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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
phpmyadmin/phpmyadmin
Packagist
4.8 up to 4.8.5
4.8.5
phpmyadmin
Alpine:v3.10
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.11
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.12
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.13
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.14
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.15
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.16
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.17
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.18
4.0.0 up to 4.8.5-r0
4.8.5-r0
Show 20 moreShow less
Affected packages
PackageAffectedFixed
phpmyadmin
Alpine:v3.19
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.20
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.21
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.22
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.23
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.24
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.9
4.0.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Debian:12
before 4:4.9.1+dfsg1-2
4:4.9.1+dfsg1-2
phpmyadmin
Debian:13
before 4:4.9.1+dfsg1-2
4:4.9.1+dfsg1-2
phpmyadmin
Debian:14
before 4:4.9.1+dfsg1-2
4:4.9.1+dfsg1-2
phpmyadmin
Debian: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/phpmyadmin
Packagist
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
phpmyadmin
Ubuntu: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 less
4: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
phpmyadmin
Ubuntu: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 less
4: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
phpmyadmin
Ubuntu:18.04:LTS
before 4:4.6.6-5ubuntu0.5, plus listed versions
4:4.6.6-5
4:4.6.6-5ubuntu0.5
phpmyadmin
Ubuntu: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
phpMyAdmin
SUSE:Package Hub 12
From an advisory covering 2 CVEs
before 4.8.5-bp150.3.9.1
4.8.5-bp150.3.9.1
phpMyAdmin
SUSE:Package Hub 15
From an advisory covering 2 CVEs
before 4.8.5-bp150.3.9.1
4.8.5-bp150.3.9.1
phpMyAdmin
openSUSE:Leap 15.0
From an advisory covering 2 CVEs
before 4.8.5-bp150.3.9.1
4.8.5-bp150.3.9.1
phpMyAdmin
openSUSE: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.

Public exploits
SourceLinkDate
NucleiphpMyAdmin <4.8.5 - Local File Inclusion

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, Nuclei, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

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.

References

Show 54 moreShow less
MoveEnter Open