CVE-2024-24868

8.5 HIGH

📋 TL;DR

This SQL injection vulnerability in the WordPress SP Project & Document Manager plugin allows attackers to execute arbitrary SQL commands through the plugin's interface. It affects all versions up to 4.69 and can be exploited by users with contributor-level access or higher.

💻 Affected Systems

Products:
  • WordPress SP Project & Document Manager plugin
Versions: All versions up to and including 4.69
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires contributor-level or higher user access for exploitation

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, privilege escalation, or full site takeover

🟠

Likely Case

Unauthorized data access, modification of database content, or extraction of sensitive information

🟢

If Mitigated

Limited impact if proper input validation and parameterized queries are implemented

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated user access at contributor level or higher

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.70 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/sp-client-document-manager/wordpress-sp-project-document-manager-plugin-4-69-contributor-sql-injection-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins > Installed Plugins
3. Find SP Project & Document Manager
4. Click Update Now
5. Verify version is 4.70 or higher

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the vulnerable plugin until patched

wp plugin deactivate sp-client-document-manager

Restrict User Roles

all

Temporarily limit contributor-level access

🧯 If You Can't Patch

  • Implement web application firewall (WAF) with SQL injection rules
  • Restrict database user permissions to minimum required

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > SP Project & Document Manager version

Check Version:

wp plugin get sp-client-document-manager --field=version

Verify Fix Applied:

Confirm plugin version is 4.70 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts from contributor accounts

Network Indicators:

  • SQL syntax in HTTP POST parameters
  • Unusual database connection patterns

SIEM Query:

source="web_server" AND ("sqlmap" OR "UNION SELECT" OR "information_schema" OR "sleep(")

🔗 References

📤 Share & Export