CVE-2019-6799
phpMyAdmin Arbitrary file read vulnerability
Record summary
CVE-2019-6799 has a selected CVSS score of 5.9 (medium); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
phpmyadmin/phpmyadminBrowse Packagist / phpmyadmin/phpmyadmin | GitHub Advisory | 4.8 to < 4.8.5 · Fixed in 4.8.5 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMphpMyAdmin <4.8.5 - Local File InclusionCVSS 5.9
phpMyAdmin before 4.8.5 is susceptible to local file inclusion. When the AllowArbitraryServer configuration setting is set to true, an attacker can read, with the use of a rogue MySQL server, 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_INFIL calls.
Impact
Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files.
Remediation
Upgrade phpMyAdmin to version 4.8.5 or later to mitigate this vulnerability.
Source: ProjectDiscovery