Sploit.io - Search

Product: W&D, version: >= n/a, <= <= 1.0

CVE-2025-60052

Severity: HIGH

Description: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes W&D wd allows PHP Local File Inclusion.This issue affects W&D: from n/a through <= 1.0.

CVSS Score: N/A

Priority

B

CISA Data

EPSS Data

  • EPSS: 0.004150000
  • Percentile: 0.333880000
  • Date: 2026-07-05

ExploitDB

No data available.

HackerOne Data

  • Rank: 10060
  • Reports submitted count: 0
  • Unknown: 0
  • None: 0
  • Low: 0
  • Medium: 0
  • High: 0
  • Critical: 0

GitHub PoCs

    Nuclei Templates

    No data available.

    VulnCheck Data

    Affected Products:

    • AncoraThemes W&D - Versions: n/a

    References:

    Risk Assessment

    1. Risk Assessment
    The AncoraThemes W&D theme for WordPress, versions up to and including 1.0, is susceptible to a PHP Local File Inclusion (LFI) vulnerability. This means an attacker can potentially include arbitrary files from the server’s file system into the PHP execution flow. The vulnerability stems from improper control of filenames used in include/require statements within the PHP code. The CVSS score of 8.1 (HIGH) indicates a significant risk. The attack vector is network-based, meaning it can be exploited remotely. While the attack complexity is high, requiring some understanding of the application's file structure, the lack of required privileges or user interaction makes exploitation relatively straightforward for a determined attacker. Successful exploitation can lead to high impacts on confidentiality, integrity, and availability. An attacker could potentially read sensitive configuration files, modify application data, or even gain remote code execution, potentially leading to a complete compromise of the WordPress installation. The EPSS score of 0.004150000 suggests a moderate likelihood of exploitation in the wild, but given the high impact, it’s a significant risk.

    2. Potential Attack Scenarios
    An attacker could leverage this LFI vulnerability to read the WordPress configuration file (wp-config.php), which contains the database credentials. The attack vector begins with the attacker identifying a vulnerable parameter within the W&D theme that accepts a filename as input. They then craft a URL that points to a local file, such as /etc/passwd (on a Linux system) or C:\Windows\win.ini (on a Windows system). By manipulating the input parameter, they can include the chosen file into the PHP execution. For example, the attacker might use a URL like: http://example.com/wp-content/themes/wd/some-template.php?file=/etc/passwd. The PHP interpreter will then execute the contents of /etc/passwd, potentially revealing user accounts and other system information. A more damaging scenario involves including a PHP backdoor file uploaded to the server, granting the attacker remote code execution and full control over the WordPress site.

    3. Mitigation Recommendations
    The primary mitigation is to update the AncoraThemes W&D theme to a version greater than 1.0, if available. Check the AncoraThemes website or the WordPress theme repository for the latest version. If updating immediately isn’t possible, consider these short-term mitigations: Implement strict input validation for any filename parameters used in include/require statements. Ensure that the filename is limited to a specific directory and that it only allows expected file types. Utilize a Web Application Firewall (WAF) to filter malicious requests and block attempts to include unexpected files. Regularly scan the WordPress installation for vulnerabilities using a plugin like Wordfence or Sucuri Security. Monitor server logs for suspicious activity, such as requests for files outside the expected directory structure. Further information can be found at: https://patchstack.com/database/Wordpress/Theme/wd/vulnerability/wordpress-w-d-theme-1-0-local-file-inclusion-vulnerability?_s_id=cve

    4. Executive Summary
    The AncoraThemes W&D WordPress theme (versions up to and including 1.0) has a high-severity Local File Inclusion vulnerability. This means attackers could potentially read sensitive data, modify website content, or even gain complete control of the website. The risk is significant because the vulnerability can be exploited remotely without requiring user interaction. While the attack requires some technical skill, the potential impact is substantial. We recommend immediately updating the W&D theme to the latest version. If an immediate update isn't feasible, implement short-term mitigations like strict input validation and a Web Application Firewall. Addressing this vulnerability is crucial to protecting our website's data, ensuring its continued availability, and maintaining customer trust. The vulnerability could potentially lead to data breaches, defacement, or even a complete website takeover, impacting both our brand reputation and potentially our customers.