CVE-2020-11579
Description
An issue was discovered in Chadha PHPKB 9.0 Enterprise Edition. installer/test-connection.php (part of the installation process) allows a remote unauthenticated attacker to disclose local files on hosts running PHP before 7.2.16, or on hosts where the MySQL ALLOW LOCAL DATA INFILE option is enabled.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
PHPKB 9.0 Enterprise Edition's installer/test-connection.php allows unauthenticated remote file disclosure via MySQL LOCAL INFILE attack.
Vulnerability
CVE-2020-11579 affects Chadha PHPKB 9.0 Enterprise Edition. The installer/test-connection.php endpoint (part of installation process) is left unprotected after installation, allowing unauthenticated remote attackers to trigger a MySQL connection. On hosts running PHP before 7.2.16 or with MySQL ALLOW LOCAL DATA INFILE enabled, the MySQL client allows reading arbitrary local files via the LOCAL INFILE feature [3].
Exploitation
An attacker sets up a rogue MySQL server and sends a crafted HTTP GET request to the vulnerable PHPKB endpoint, pointing the MySQL connection to the attacker's server. The attacker's server sends a malicious MySQL server greeting, and when the client requests LOAD DATA LOCAL INFILE, the attacker can specify any file path on the victim host. The file contents are sent back to the attacker's MySQL server. No authentication required, and the exploit can be performed remotely [2][3].
Impact
Successful exploitation allows an unauthenticated remote attacker to read arbitrary files from the victim host with the privileges of the web server (e.g., www-data). This can disclose sensitive information such as configuration files, database credentials, or other secrets [2][3].
Mitigation
Chadha PHPKB released a patch after the report; users should upgrade to the latest version. Additionally, ensure PHP is updated to at least 7.2.16 to disable the default LOCAL INFILE behavior, or disable ALLOW LOCAL DATA INFILE in MySQL configuration. The vulnerable endpoint should be removed or protected after installation [2][3].
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Chadha/Chadha PHPKB Enterprise Editiondescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- shielder.itmitrex_refsource_MISC
- www.phpkb.commitrex_refsource_MISC
- www.shielder.it/blog/mysql-and-cve-2020-11579-exploitation/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.