CVE-2025-68066

7.5 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 Soledad theme from version 8.7.0 and earlier. Attackers can potentially read sensitive files or execute arbitrary code.

💻 Affected Systems

Products:
  • WordPress Soledad Theme
Versions: ≤ 8.7.0
Operating Systems: All OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Soledad 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 security controls preventing critical file access.

🌐 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: > 8.7.0

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/soledad/vulnerability/wordpress-soledad-theme-8-7-0-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 Soledad theme updates
4. Update to latest version (>8.7.0)
5. Clear WordPress cache if applicable

🔧 Temporary Workarounds

Disable vulnerable theme

all

Temporarily switch to default WordPress theme until patch is applied

wp theme activate twentytwentyfour

Restrict PHP file inclusion

linux

Add .htaccess rules to block suspicious include patterns

RewriteCond %{QUERY_STRING} (.*)include.*\.php [NC]
RewriteRule ^ - [F,L]

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules blocking LFI patterns
  • Restrict file permissions on sensitive directories and disable unnecessary PHP functions

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for Soledad theme version ≤8.7.0

Check Version:

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

Verify Fix Applied:

Confirm Soledad theme version >8.7.0 in WordPress admin or run: wp theme list --field=name,version | grep soledad

📡 Detection & Monitoring

Log Indicators:

  • Unusual PHP include/require errors
  • Requests with suspicious file path parameters
  • Access to sensitive files like /etc/passwd, wp-config.php

Network Indicators:

  • HTTP requests with file path traversal patterns
  • Abnormal requests to theme PHP files

SIEM Query:

source="web_logs" AND (uri="*include*" OR uri="*require*") AND (query="*..*" OR query="*/etc/*" OR query="*wp-config*")

🔗 References

📤 Share & Export