CVE-2025-64205
📋 TL;DR
This vulnerability allows attackers to include local files on the server through improper filename control in PHP's include/require statements. It affects WordPress sites using the Jannah theme, potentially leading to sensitive information disclosure or code execution. All Jannah theme users with versions up to and including 7.6.0 are vulnerable.
💻 Affected Systems
- TieLabs Jannah 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
Full server compromise through local file inclusion leading to remote code execution, sensitive file access (like /etc/passwd, database credentials), and complete site takeover.
Likely Case
Sensitive information disclosure (configuration files, credentials), limited file system access, and potential privilege escalation through included PHP files.
If Mitigated
Limited impact with proper file permissions, web server restrictions, and security controls in place.
🎯 Exploit Status
Simple HTTP requests can trigger the vulnerability. Public exploit details available through security advisories.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 7.6.1 or later
Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/jannah/vulnerability/wordpress-jannah-theme-7-6-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 Jannah theme updates. 4. Update to version 7.6.1 or later. 5. Clear any caching plugins.
🔧 Temporary Workarounds
Disable vulnerable theme
allTemporarily switch to default WordPress theme until patch is applied
wp theme activate twentytwentyfour
Restrict PHP file inclusion
linuxAdd .htaccess rules to restrict file inclusion patterns
RewriteEngine On
RewriteCond %{QUERY_STRING} (.*)(include|require)(.*)\.php [NC]
RewriteRule .* - [F,L]
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block file inclusion patterns
- Restrict file system permissions and disable unnecessary PHP functions via php.ini
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel under Appearance > Themes for Jannah theme version. If version is 7.6.0 or earlier, system is vulnerable.
Check Version:
wp theme list --name=jannah --field=version
Verify Fix Applied:
Verify Jannah theme version is 7.6.1 or later in WordPress admin panel. Test with known safe LFI payloads to confirm remediation.
📡 Detection & Monitoring
Log Indicators:
- Unusual include/require statements in PHP error logs
- HTTP requests with file path parameters like ?file=../../../etc/passwd
- Multiple 404 errors for non-existent PHP files
Network Indicators:
- HTTP requests containing path traversal sequences (../)
- Requests to theme files with unusual parameters
- Abnormal file access patterns from single IPs
SIEM Query:
source="web_logs" AND (uri="*include*" OR uri="*require*") AND (query="*../*" OR query="*file=*")