CVE-2025-58895
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-58895 is a PHP Local File Inclusion (LFI) vulnerability in the AncoraThemes Integro WordPress theme, affecting all versions through 1.8.0. The flaw stems from improper control of filenames in PHP include/require statements (CWE-98), allowing unauthenticated remote attackers to include arbitrary local files on the server. The vulnerability was reported by Tran Nguyen Bao Khanh (VCI - VNPT Cyber Immunity) on July 24, 2025, and published by Patchstack on August 23, 2025. It carries a CVSS v3.1 base score of 8.1 (High) (Patchstack).

Technical details

The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), which maps to OWASP Top 10 category A3: Injection. The Integro theme fails to properly sanitize or validate user-supplied input before using it in PHP include or require statements, enabling an attacker to manipulate the file path parameter to traverse the server's directory structure and include sensitive local files. Exploitation requires no authentication and no user interaction, though the attack complexity is rated High, suggesting some precondition or constraint must be met (e.g., specific server configuration or parameter guessing) (Patchstack). No public proof-of-concept code has been identified at this time.

Impact

Successful exploitation allows an unauthenticated attacker to read arbitrary files from the web server's filesystem, including sensitive configuration files such as WordPress wp-config.php (which contains database credentials), /etc/passwd, and other confidential data. Exposure of database credentials could lead to complete database takeover, and access to application secrets could facilitate further compromise or lateral movement within the hosting environment. Confidentiality, integrity, and availability are all rated High impact in the CVSS scoring (Patchstack).

Exploitability

No public proof-of-concept exploit code has been identified, and there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.053%, indicating a low current probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack notes that vulnerabilities of this class (LFI with CVSS 8.1) are frequently used in mass-exploit campaigns targeting WordPress sites regardless of traffic or popularity (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the Integro theme (version ≤ 1.8.0) via passive scanning tools (e.g., WPScan, Shodan, or Google dorks such as inurl:wp-content/themes/integro).
  2. Identify vulnerable parameter: Analyze the theme's PHP source code or HTTP responses to locate endpoints that accept user-controlled input passed to a PHP include or require statement.
  3. Craft LFI payload: Construct an HTTP request with a path traversal payload in the vulnerable parameter (e.g., ../../../../wp-config.php or ../../../../etc/passwd) to reference a target file outside the web root.
  4. Send the request: Submit the crafted request to the vulnerable endpoint without authentication. If successful, the server will include and render the contents of the targeted file in the HTTP response.
  5. Extract sensitive data: Parse the response for database credentials, API keys, or other secrets from files such as wp-config.php, then use those credentials for further access (e.g., database login, admin panel takeover) (Patchstack).

Indicators of compromise

  • Network: Unusual HTTP GET or POST requests to theme-related endpoints containing path traversal sequences (e.g., ../, ..%2F, %2e%2e%2f) in query parameters or POST body fields.
  • Logs: Web server access logs (Apache/Nginx) showing requests with encoded directory traversal strings targeting the Integro theme directory; repeated 200 responses to requests with suspicious file path parameters.
  • File System: Unexpected access to sensitive files such as wp-config.php, /etc/passwd, or /etc/shadow reflected in PHP error logs or access logs.
  • Process: PHP error log entries indicating failed or successful file inclusion of paths outside the theme directory.

Mitigation and workarounds

As of the publication date, no official patch from AncoraThemes is available for the Integro theme. Patchstack has issued a virtual patching/mitigation rule for Patchstack-protected sites to block exploitation attempts until an official fix is released. Site owners should upgrade to a version of the Integro theme newer than 1.8.0 if one becomes available, or consider replacing the theme. In the interim, restrict access to the WordPress administration panel via firewall rules or IP whitelisting, implement a web application firewall (WAF) rule to block path traversal patterns, and monitor server logs for suspicious file access activity (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management