CVE-2024-49251
📋 TL;DR
This vulnerability allows attackers to include local PHP files through improper filename control in the Maan Addons For Elementor WordPress plugin. Attackers can execute arbitrary code on the server by manipulating file inclusion parameters. All WordPress sites using vulnerable versions of this plugin are affected.
💻 Affected Systems
- Maan Addons For Elementor WordPress Plugin
⚠️ 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 arbitrary code execution.
Likely Case
Local file inclusion leading to sensitive file disclosure, limited code execution, or privilege escalation within the WordPress environment.
If Mitigated
Attack blocked at WAF level or fails due to proper file permission restrictions, resulting in no impact.
🎯 Exploit Status
Local File Inclusion vulnerabilities are commonly exploited and weaponized quickly in WordPress ecosystems.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.0.2 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Maan Addons For Elementor'. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and remove plugin immediately.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched version is available
wp plugin deactivate maan-elementor-addons
WAF Rule
allAdd WAF rule to block requests containing local file inclusion patterns
ModSecurity: SecRule ARGS "\.\./" "id:1001,phase:2,deny,msg:'Local File Inclusion Attempt'"
Cloudflare WAF: Create rule blocking requests with '..' in URI
🧯 If You Can't Patch
- Remove the Maan Addons For Elementor plugin completely from your WordPress installation
- Implement strict file permission controls (chmod 644 for PHP files, 755 for directories) and disable dangerous PHP functions like allow_url_include
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Maan Addons For Elementor version. If version is 1.0.1 or earlier, you are vulnerable.
Check Version:
wp plugin get maan-elementor-addons --field=version
Verify Fix Applied:
Verify plugin version is 1.0.2 or later in WordPress admin panel, or check that plugin is completely removed from wp-content/plugins directory.
📡 Detection & Monitoring
Log Indicators:
- Unusual file include patterns in PHP error logs
- Requests containing '..' or absolute paths in parameters
- Multiple 404 errors followed by successful file accesses
Network Indicators:
- HTTP requests with file inclusion parameters (e.g., ?file=../../etc/passwd)
- Unusual POST/GET requests to plugin-specific endpoints
SIEM Query:
source="web_access.log" AND (uri="*..*" OR params="*..*") AND user_agent!="*bot*"