
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-58709 is a PHP Local File Inclusion (LFI) vulnerability in the Axiomthemes Legacy WordPress theme, affecting all versions up to and including 1.9. The flaw stems from improper control of filename parameters in PHP include/require statements (CWE-98). It was reported by researcher "Bonds" on August 3, 2025, and published by Patchstack on September 2, 2025. The vulnerability carries a CVSS v3.1 base score of 8.1 (High), exploitable remotely without authentication or user interaction (Patchstack).
The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). The Legacy theme fails to properly sanitize or validate user-supplied input used in PHP include or require statements, allowing an unauthenticated remote attacker to manipulate the filename parameter to include arbitrary local files from the server's filesystem. Exploitation requires no privileges and no user interaction, though the attack complexity is rated High, suggesting some precondition or bypass is needed. The vulnerability is categorized under OWASP Top 10 A3: Injection (Patchstack).
Successful exploitation allows an attacker to read arbitrary local files on the web server, including sensitive configuration files such as wp-config.php (which contains database credentials), potentially enabling complete database takeover. The high confidentiality, integrity, and availability impacts reflect the risk of credential theft, unauthorized data access, and possible escalation to remote code execution if combined with a file upload or log poisoning technique. All WordPress sites running the Legacy theme at version 1.9 or earlier are affected (Patchstack).
As of the time of publication, there is no known public proof-of-concept exploit and no confirmed in-the-wild exploitation. The EPSS score is approximately 0.115%, indicating a low but non-negligible probability of exploitation in the near term. No threat actor attribution has been made, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack notes that vulnerabilities of this class are commonly used in mass-exploit campaigns targeting WordPress sites at scale (Patchstack).
/wp-content/themes/legacy/.file, page, or template parameter passed to an include() call).../../../../wp-config.php or /etc/passwd, to traverse the directory structure and include a sensitive file.wp-config.php is successfully included, extract database credentials (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST).../, %2e%2e%2f, ....//) in query parameters; requests returning unexpected file content (e.g., PHP config syntax in HTTP responses).wp-config.php, /etc/passwd, or server log files; presence of web shells in the theme directory if LFI was chained with a file upload.wp-config.php; unexpected outbound connections from the web server process.As of the publication date, no official patch from Axiomthemes is available for the Legacy theme. Patchstack has issued a virtual patching/mitigation rule for its subscribers to block exploitation attempts until an official fix is released. Site administrators should update the theme to a version beyond 1.9 if one becomes available, or consider replacing the theme with a supported alternative. Additional mitigations include deploying a Web Application Firewall (WAF) with LFI detection rules, implementing strict server-side input validation for file inclusion parameters, and applying the principle of least privilege to the web server process (Patchstack).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."