The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-11579

CVE-2020-11579: Chadhaajay Phpkb Information Disclosure

CVE-2020-11579 is an information disclosure vulnerability in Chadha PHPKB 9.0 Enterprise Edition that allows unauthenticated attackers to access local files. This article covers technical details, affected systems, and mitigation.

Published: March 4, 2026

CVE-2020-11579 Overview

CVE-2020-11579 is a local file disclosure vulnerability discovered in Chadha PHPKB 9.0 Enterprise Edition. The vulnerability exists in the installer/test-connection.php file, which is part of the installation process. A remote unauthenticated attacker can exploit this flaw to disclose local files on hosts running PHP versions before 7.2.16, or on hosts where the MySQL ALLOW LOCAL DATA INFILE option is enabled.

This vulnerability leverages the MySQL client-server protocol to trick the application into sending local file contents to a rogue MySQL server controlled by the attacker. The attack exploits the LOAD DATA LOCAL INFILE MySQL functionality, which can be abused when an application connects to an attacker-controlled database server.

Critical Impact

Unauthenticated remote attackers can read arbitrary local files from vulnerable PHPKB installations, potentially exposing sensitive configuration files, credentials, and application source code.

Affected Products

  • Chadha PHPKB 9.0 Enterprise Edition
  • PHP versions prior to 7.2.16
  • Systems with MySQL ALLOW LOCAL DATA INFILE enabled

Discovery Timeline

  • 2020-09-03 - CVE-2020-11579 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-11579

Vulnerability Analysis

This vulnerability is classified under CWE-306 (Missing Authentication for Critical Function). The installer/test-connection.php script, intended for database connection testing during installation, lacks proper authentication controls and remains accessible even after installation completes.

The core issue lies in how the PHP MySQL client handles connections to untrusted database servers. When connecting to a MySQL server, the client can be instructed to send local files to the server via the LOAD DATA LOCAL INFILE command. An attacker can set up a malicious MySQL server that requests arbitrary local files from the connecting PHP application.

The vulnerability is particularly dangerous because the installation directory and its scripts are often left in place after deployment, creating a persistent attack surface. The attacker needs only network access to the target application to exploit this flaw.

Root Cause

The root cause is the combination of two security issues: first, the test-connection.php script does not require authentication and accepts user-supplied database connection parameters; second, PHP versions before 7.2.16 did not properly restrict the LOAD DATA LOCAL INFILE functionality by default. When these conditions are met, the application will connect to any MySQL server specified by the attacker and automatically respond to file read requests from that server.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker performs the following steps:

  1. Sets up a rogue MySQL server configured to request local files upon client connection
  2. Sends a crafted request to the vulnerable test-connection.php endpoint with their malicious server's address
  3. The PHPKB application connects to the attacker's MySQL server
  4. The rogue server responds with a LOAD DATA LOCAL INFILE request for a target file (e.g., /etc/passwd or application configuration files)
  5. The PHP MySQL client sends the file contents to the attacker's server

The attacker can iterate this process to extract multiple files from the target system. For detailed technical analysis and proof-of-concept code, refer to the Shielder Blog on MySQL Exploit and the GitHub PoC Repository.

Detection Methods for CVE-2020-11579

Indicators of Compromise

  • Unexpected outbound MySQL connections (port 3306) from web servers to external IP addresses
  • Access log entries showing requests to /installer/test-connection.php from external sources
  • Network traffic containing LOAD DATA LOCAL INFILE commands in MySQL protocol streams
  • Unusual file access patterns on web server hosts, particularly to sensitive configuration files

Detection Strategies

  • Monitor web access logs for requests to installation scripts, particularly test-connection.php
  • Implement network monitoring for outbound MySQL connections to non-whitelisted database servers
  • Deploy Web Application Firewall (WAF) rules to block access to installation directories from external sources
  • Use file integrity monitoring to detect unauthorized access to sensitive system files

Monitoring Recommendations

  • Enable verbose logging on PHP and MySQL connections to capture connection attempts to unusual destinations
  • Set up alerts for any access to the /installer/ directory path in production environments
  • Monitor for network connections originating from web server processes to external MySQL ports
  • Review and audit MySQL configuration regularly to ensure LOCAL INFILE is disabled when not required

How to Mitigate CVE-2020-11579

Immediate Actions Required

  • Remove or restrict access to the /installer/ directory immediately after completing PHPKB installation
  • Upgrade PHP to version 7.2.16 or later, which disables LOAD DATA LOCAL INFILE by default
  • Set mysqli.allow_local_infile = Off in your php.ini configuration file
  • Implement firewall rules to block outbound MySQL connections from web servers to unauthorized destinations

Patch Information

There is no vendor-specific patch information available in the CVE data. Organizations should apply the recommended workarounds and ensure the installation directory is removed or protected. Contact the PHPKB vendor through their official website for updated software versions. Additionally, upgrading to PHP 7.2.16 or later provides protection at the PHP runtime level by disabling the vulnerable functionality by default.

Workarounds

  • Delete the entire /installer/ directory from production PHPKB installations
  • Use .htaccess or web server configuration to deny all access to installation scripts
  • Configure PHP with mysqli.allow_local_infile = Off to prevent local file reads via MySQL
  • Implement network segmentation to prevent web servers from initiating outbound database connections to arbitrary hosts
bash
# Configuration example
# Remove installer directory (recommended)
rm -rf /var/www/html/phpkb/installer/

# Or restrict access via Apache .htaccess
echo "Deny from all" > /var/www/html/phpkb/installer/.htaccess

# Disable LOCAL INFILE in PHP configuration
echo "mysqli.allow_local_infile = Off" >> /etc/php.ini

# Restart web server to apply changes
systemctl restart apache2

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechChadhaajay Phpkb

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability36.68%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-306
  • Technical References
  • GitHub PoC Repository

  • Shielder IT Homepage

  • PHP Knowledge Base

  • Shielder Blog on MySQL Exploit
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English