CVE-2025-63074

7.5 HIGH

📋 TL;DR

This vulnerability allows attackers to include local PHP files through improper filename control in the The7 WordPress theme. Attackers can potentially read sensitive files or execute arbitrary code on affected WordPress installations. All WordPress sites using The7 theme versions up to 12.8.0.2 are affected.

💻 Affected Systems

Products:
  • Dream-Theme The7 WordPress Theme
Versions: All versions up to and including 12.8.0.2
Operating Systems: Any OS running WordPress with PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with The7 theme active. PHP configuration may affect exploitability.

⚠️ 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

Remote code execution leading to complete server compromise, data theft, and website defacement.

🟠

Likely Case

Local file inclusion allowing reading of sensitive files like wp-config.php containing database credentials.

🟢

If Mitigated

Limited impact if proper file permissions and web server configurations restrict PHP execution in sensitive directories.

🌐 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: 12.8.0.3 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/dt-the7/vulnerability/wordpress-the7-theme-12-8-0-2-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check for The7 theme update notification. 4. Click 'Update Now' for The7 theme. 5. Verify theme version is 12.8.0.3 or higher.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to a different WordPress theme temporarily

Restrict PHP file inclusion

linux

Configure PHP to disable allow_url_include and restrict open_basedir

php_admin_value allow_url_include Off
php_admin_value open_basedir /var/www/html

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file permissions and disable PHP execution in sensitive directories

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for The7 theme version. If version is 12.8.0.2 or lower, system is vulnerable.

Check Version:

wp theme list --field=name,version --format=csv | grep the7

Verify Fix Applied:

Verify The7 theme version is 12.8.0.3 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file include patterns in PHP error logs
  • HTTP requests with suspicious file paths in access logs

Network Indicators:

  • HTTP requests containing file inclusion patterns like '?file=../../wp-config.php'

SIEM Query:

source="web_access_logs" AND (uri="*file=*" OR uri="*include=*") AND (uri="*../*" OR uri="*/etc/*" OR uri="*/wp-config*")

🔗 References

📤 Share & Export