CVE-2025-24770

8.1 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 all WordPress sites using BZOTheme CraftXtore theme versions up to 1.7, potentially leading to sensitive information disclosure or remote code execution.

💻 Affected Systems

Products:
  • BZOTheme CraftXtore WordPress Theme
Versions: All versions up to and including 1.7
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable theme activated. 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 local file inclusion leading to remote code execution, data exfiltration, and complete system takeover.

🟠

Likely Case

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

🟢

If Mitigated

Limited impact if proper file permissions, web server hardening, and input validation are implemented.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires no authentication and uses simple HTTP requests. Public proof-of-concept demonstrates file inclusion via crafted parameters.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.7

Vendor Advisory: https://patchstack.com/database/wordpress/theme/bw-craftxtore/vulnerability/wordpress-craftxtore-1-7-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update CraftXtore theme to latest version via WordPress admin panel. 2. If update unavailable, remove theme completely. 3. Verify theme files are properly sanitized.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to default WordPress theme to remove vulnerable code

wp theme activate twentytwentyfour
wp theme delete craftxtore

Web Application Firewall rule

linux

Block requests containing local file inclusion patterns

ModSecurity rule: SecRule ARGS "\.\./" "id:1001,phase:2,deny,status:403,msg:'Local File Inclusion attempt'

🧯 If You Can't Patch

  • Implement strict input validation and sanitization for all user-controlled parameters
  • Apply principle of least privilege to web server process and file system permissions

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme version in Appearance > Themes or via wp cli: wp theme list --field=name,version

Check Version:

wp theme list --field=name,version | grep craftxtore

Verify Fix Applied:

Confirm CraftXtore theme version is greater than 1.7 and test file inclusion attempts return proper errors

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests with ../ patterns in parameters
  • PHP include/require warnings for unexpected files
  • Access to sensitive files like /etc/passwd in web logs

Network Indicators:

  • Unusual file paths in GET/POST parameters
  • Requests to theme-specific endpoints with traversal sequences

SIEM Query:

source="web_access.log" AND (uri="*../*" OR params="*../*")

🔗 References

📤 Share & Export