CVE-2025-60052

8.2 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through improper filename control in PHP include/require statements. It affects WordPress sites using the AncoraThemes W&D theme version 1.0 and earlier. Attackers can potentially read sensitive files or execute arbitrary code.

💻 Affected Systems

Products:
  • AncoraThemes W&D WordPress Theme
Versions: <= 1.0
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable theme active. PHP configuration with allow_url_include disabled does not prevent local file inclusion.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full server compromise through arbitrary code execution leading to data theft, ransomware deployment, or complete system takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials, user data) and limited code execution within web server context.

🟢

If Mitigated

Limited impact with proper file permissions and web server hardening, potentially only file disclosure without code execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Simple HTTP requests can trigger the vulnerability. Public exploit details available on security research sites.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: >1.0

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/wd/vulnerability/wordpress-w-d-theme-1-0-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update W&D theme to latest version via WordPress admin panel. 2. If update unavailable, remove theme entirely. 3. Verify theme files are replaced with patched versions.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to default WordPress theme or alternative secure theme

wp theme activate twentytwentyfour
wp theme delete wd

Restrict PHP file functions

linux

Use PHP disable_functions directive to limit include/require

disable_functions = include,require,include_once,require_once

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block LFI patterns
  • Restrict web server permissions to minimal required directories

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme directory for W&D theme version <=1.0

Check Version:

wp theme list --field=name,version | grep -i wd

Verify Fix Applied:

Verify theme version >1.0 or theme completely removed

📡 Detection & Monitoring

Log Indicators:

  • Unusual include/require statements in PHP error logs
  • Requests with file path traversal patterns (../, /etc/passwd)

Network Indicators:

  • HTTP requests with file inclusion parameters
  • Abnormal file access patterns from web server

SIEM Query:

web_access_logs | where url contains "include=" or url contains "require=" or url contains "../"

🔗 References

📤 Share & Export