Php · Phpmyadmin · CVE-2019-6799
**Name of the Vulnerable Software and Affected Versions**
phpMyAdmin versions prior to 4.8.5
**Description**
An issue allows an attacker to read any file on the server that the web server's user can access when the AllowArbitraryServer configuration setting is set to true. This is related to the mysql.allow local infile PHP configuration and the inadvertent ignoring of `options(MYSQLI OPT LOCAL INFILE)` calls.
**Recommendations**
For versions prior to 4.8.5, update to version 4.8.5 or later to resolve the issue. As a temporary workaround, consider setting the AllowArbitraryServer configuration setting to false to minimize the risk of exploitation. Additionally, restrict the use of the `mysql.allow local infile` PHP configuration to prevent unauthorized file access.