CVE-2025-24760
📋 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 Sofass theme version 1.3.4 and earlier. Attackers can potentially read sensitive files or execute arbitrary code.
💻 Affected Systems
- WordPress Sofass 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 exfiltration, and persistent backdoor installation.
Likely Case
Sensitive file disclosure (configuration files, database credentials, user data) and limited code execution within web server context.
If Mitigated
Limited impact if file permissions are restrictive and web server runs with minimal privileges.
🎯 Exploit Status
Simple HTTP requests can trigger the vulnerability. Public proof-of-concept exists on security research sites.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.3.5 or later
Vendor Advisory: https://patchstack.com/database/wordpress/theme/sofass/vulnerability/wordpress-sofass-1-3-4-local-file-inclusion-vulnerability?_s_id=cve
Restart Required: No
Instructions:
1. Update Sofass theme to version 1.3.5 or later via WordPress admin panel. 2. Alternatively, delete the theme and install the latest version from WordPress repository.
🔧 Temporary Workarounds
Disable Sofass Theme
allSwitch to a different WordPress theme until patched
wp theme deactivate sofass
wp theme activate twentytwentyfour
Restrict File Access
linuxSet strict file permissions on web directory
chmod 644 /var/www/html/wp-content/themes/sofass/*
chmod 755 /var/www/html/wp-content/themes/sofass/
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block file inclusion patterns
- Restrict web server user permissions and implement strict file system access controls
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Appearance > Themes for Sofass theme version 1.3.4 or earlier
Check Version:
wp theme list --name=sofass --field=version
Verify Fix Applied:
Verify theme version is 1.3.5 or later in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual file include patterns in PHP error logs
- HTTP requests with file path traversal parameters
Network Indicators:
- HTTP requests containing '..', '/etc/', or other directory traversal patterns
SIEM Query:
source="web_logs" AND (uri="*..*" OR uri="*/etc/*" OR uri="*include*" OR uri="*require*")