Allele Security Alert
ASA-2019-00035, PMASA-2019-1, CVE-2019-6799
Arbitrary file read vulnerability
The phpMyAdmin Project
phpMyAdmin versions from at least 4.0 through 4.8.4
Proof of concept
When AllowArbitraryServer configuration 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.
phpMyadmin attempts to block the use of LOAD DATA INFILE, but due to a bug in PHP, this check is not honored. Additionally, when using the ‘mysql’ extension, mysql.allow_local_infile is enabled by default. Both of these conditions allow the attack to occur.
Tongqing Zhu (404 Team), Hongkun Zeng, chromium1337, Hanno Böck and Jakub Vrána
phpMyAdmin – Security – PMASA-2019-1
Deny using mysql extension with mysql.allow_local_infile
Actually set MYSQLI_OPT_LOCAL_INFILE
If there is any error in this alert or you wish a comprehensive analysis, let us know.
Last modified: June 2, 2019