CVE-2024-10436

8.8 HIGH

📋 TL;DR

The WPC Smart Messages for WooCommerce WordPress plugin contains a Local File Inclusion vulnerability that allows authenticated attackers with Subscriber-level access or higher to include and execute arbitrary PHP files on the server. This can lead to remote code execution, data theft, and privilege escalation. All WordPress sites using this plugin up to version 4.2.1 are affected.

💻 Affected Systems

Products:
  • WPC Smart Messages for WooCommerce WordPress plugin
Versions: All versions up to and including 4.2.1
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated access (Subscriber role or higher)

⚠️ 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 exfiltration, ransomware deployment, or complete site takeover

🟠

Likely Case

Unauthorized code execution leading to backdoor installation, data theft, or privilege escalation

🟢

If Mitigated

Limited impact if proper file upload restrictions and web application firewalls are in place

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is straightforward once credentials are obtained

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.2.2 or later

Vendor Advisory: https://wordpress.org/plugins/wpc-smart-messages/

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find WPC Smart Messages for WooCommerce
4. Click 'Update Now' if available
5. If no update appears, manually download version 4.2.2+ from WordPress.org
6. Deactivate, delete old version, upload and activate new version

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the WPC Smart Messages plugin until patched

wp plugin deactivate wpc-smart-messages

Restrict file uploads

linux

Configure web server to block PHP file execution in upload directories

location ~* \.php$ { deny all; }

🧯 If You Can't Patch

  • Remove Subscriber role access or implement strict access controls
  • Deploy web application firewall with LFI protection rules

🔍 How to Verify

Check if Vulnerable:

Check plugin version in WordPress admin under Plugins → Installed Plugins

Check Version:

wp plugin get wpc-smart-messages --field=version

Verify Fix Applied:

Confirm plugin version is 4.2.2 or higher after update

📡 Detection & Monitoring

Log Indicators:

  • Unusual file include requests in web server logs
  • PHP execution attempts from unexpected locations

Network Indicators:

  • HTTP requests with file path traversal patterns to plugin endpoints

SIEM Query:

source="web_access" AND (uri="*wp-content/plugins/wpc-smart-messages*" AND (uri="*../*" OR uri="*php*"))

🔗 References

📤 Share & Export