CVE-2025-64359
📋 TL;DR
This CVE describes a PHP Local File Inclusion vulnerability in the Consulting WordPress theme by StylemixThemes. Attackers can include arbitrary local files through improper filename control in PHP include/require statements, potentially leading to sensitive information disclosure or code execution. All WordPress sites using Consulting theme versions before 6.7.5 are affected.
💻 Affected Systems
- StylemixThemes Consulting WordPress Theme
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Remote code execution leading to complete system compromise, data theft, and website defacement.
Likely Case
Sensitive file disclosure (configuration files, database credentials) and limited code execution within web server context.
If Mitigated
Information disclosure limited to publicly accessible files only.
🎯 Exploit Status
Simple HTTP requests can trigger the vulnerability. Public exploit details available on security research sites.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 6.7.5
Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/consulting/vulnerability/wordpress-consulting-theme-6-7-5-local-file-inclusion-vulnerability?_s_id=cve
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Update Consulting theme to version 6.7.5 or later. 4. Clear any caching plugins/CDN caches.
🔧 Temporary Workarounds
Disable vulnerable theme
allSwitch to a different WordPress theme temporarily
wp theme activate twentytwentyfour
Web Application Firewall rule
linuxBlock 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 file permissions (644 for files, 755 for directories) to limit accessible files
- Deploy web application firewall with LFI detection rules
🔍 How to Verify
Check if Vulnerable:
Check WordPress theme version in wp-content/themes/consulting/style.css or via WordPress admin panel
Check Version:
wp theme list --field=name,status,version | grep consulting
Verify Fix Applied:
Confirm Consulting theme version is 6.7.5 or higher in WordPress admin > Appearance > Themes
📡 Detection & Monitoring
Log Indicators:
- HTTP requests with ../ patterns in parameters
- PHP include/require errors in web server logs
- Access to sensitive files like /etc/passwd in web logs
Network Indicators:
- HTTP requests with multiple directory traversal sequences
- Unusual file extensions in URL parameters
SIEM Query:
source="web_logs" AND (uri="*../*" OR uri="*..\\*" OR params="*../*")