CVE-2025-47474
📋 TL;DR
This vulnerability allows attackers to include local PHP files through improper filename control in the Anarkali WordPress theme. Attackers can potentially execute arbitrary code on affected WordPress sites. All WordPress installations using Anarkali theme versions up to and including 1.0.9 are vulnerable.
💻 Affected Systems
- Ninetheme Anarkali 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 leading to data theft, ransomware deployment, or complete site takeover through remote code execution.
Likely Case
Unauthenticated attackers reading sensitive files like wp-config.php to obtain database credentials, then escalating to full site control.
If Mitigated
Limited information disclosure if file inclusion is restricted to non-sensitive directories or proper file permissions are enforced.
🎯 Exploit Status
Simple HTTP requests can trigger the vulnerability. Public exploit code is available in security advisories.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.1.0 or later
Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/anarkali/vulnerability/wordpress-anarkali-theme-1-0-9-local-file-inclusion-vulnerability?_s_id=cve
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check if Anarkali theme update is available. 4. Update to version 1.1.0 or later. 5. If no update available, switch to default theme and remove Anarkali.
🔧 Temporary Workarounds
Disable vulnerable theme
allSwitch to a different WordPress theme immediately
wp theme activate twentytwentyfour
wp theme delete anarkali
Restrict PHP file inclusion
linuxAdd .htaccess rules to block local file inclusion attempts
RewriteEngine On
RewriteCond %{QUERY_STRING} (.*)(include|require)(.*)\.php
RewriteRule ^.*$ - [F,L]
🧯 If You Can't Patch
- Immediately disable or remove the Anarkali theme from all WordPress installations
- Implement web application firewall rules to block requests containing file inclusion patterns
🔍 How to Verify
Check if Vulnerable:
Check WordPress theme version: In WordPress admin, go to Appearance > Themes and check Anarkali version. If ≤1.0.9, vulnerable.
Check Version:
wp theme list --field=name,status,version | grep anarkali
Verify Fix Applied:
Confirm theme version is 1.1.0 or later, or that Anarkali theme is completely removed from themes directory.
📡 Detection & Monitoring
Log Indicators:
- HTTP requests with parameters containing 'include', 'require', or path traversal sequences
- PHP error logs showing file inclusion warnings
- Access to wp-config.php or other sensitive files from web requests
Network Indicators:
- Unusual GET/POST requests to theme files with file path parameters
- Traffic spikes to theme-specific endpoints
SIEM Query:
web.url:*anarkali* AND (web.query:*include* OR web.query:*require* OR web.query:*..*)