CVE-2024-49251

7.5 HIGH

📋 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

Products:
  • Maan Addons For Elementor WordPress Plugin
Versions: All versions up to and including 1.0.1
Operating Systems: Any OS running WordPress with PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin activated. PHP configuration may affect exploitability.

⚠️ 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.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Local File Inclusion vulnerabilities are commonly exploited and weaponized quickly in WordPress ecosystems.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.2 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/maan-elementor-addons/wordpress-maan-addons-for-elementor-plugin-1-0-1-local-file-inclusion-vulnerability?_s_id=cve

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

all

Temporarily disable the vulnerable plugin until patched version is available

wp plugin deactivate maan-elementor-addons

WAF Rule

all

Add 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*"

🔗 References

📤 Share & Export