CVE-2024-10400

7.5 HIGH

📋 TL;DR

This SQL injection vulnerability in the Tutor LMS WordPress plugin allows unauthenticated attackers to inject malicious SQL queries through the 'rating_filter' parameter. Attackers can extract sensitive database information like user credentials, payment details, or other private data. All WordPress sites using Tutor LMS version 2.7.6 or earlier are affected.

💻 Affected Systems

Products:
  • Tutor LMS WordPress Plugin
Versions: All versions up to and including 2.7.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable Tutor LMS versions are affected regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, privilege escalation, and potential site takeover via credential extraction.

🟠

Likely Case

Extraction of sensitive user data including emails, passwords (hashed), and potentially payment information if stored.

🟢

If Mitigated

Limited information disclosure if database permissions are properly restricted and sensitive data is encrypted.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

SQL injection via GET/POST parameters is straightforward for attackers with basic web testing tools.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.7.7 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3186319/tutor

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Tutor LMS and click 'Update Now'. 4. Verify version is 2.7.7 or higher.

🔧 Temporary Workarounds

WAF Rule Implementation

all

Deploy web application firewall rules to block SQL injection patterns in rating_filter parameter

Plugin Deactivation

linux

Temporarily disable Tutor LMS plugin until patched

wp plugin deactivate tutor

🧯 If You Can't Patch

  • Implement strict input validation for rating_filter parameter
  • Restrict database user permissions to SELECT only where possible

🔍 How to Verify

Check if Vulnerable:

Check Tutor LMS plugin version in WordPress admin panel or via wp-cli: wp plugin get tutor --field=version

Check Version:

wp plugin get tutor --field=version

Verify Fix Applied:

Confirm version is 2.7.7 or higher and test rating_filter functionality

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in WordPress debug logs
  • Multiple requests with SQL keywords in rating_filter parameter

Network Indicators:

  • HTTP requests containing SQL injection payloads in GET/POST parameters

SIEM Query:

source="web_logs" AND (rating_filter CONTAINS "UNION" OR rating_filter CONTAINS "SELECT" OR rating_filter CONTAINS "--")

🔗 References

📤 Share & Export