CVE-2024-13477
📋 TL;DR
This SQL injection vulnerability in the LTL Freight Quotes WordPress plugin allows unauthenticated attackers to execute arbitrary SQL queries against the database. All WordPress sites using this plugin version 2.5.8 or earlier are affected, potentially exposing sensitive data like user credentials, payment information, or other database contents.
💻 Affected Systems
- LTL Freight Quotes – Unishippers Edition WordPress Plugin
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Complete database compromise leading to data theft, privilege escalation, or full site takeover via credential extraction and subsequent admin access.
Likely Case
Extraction of sensitive data from the database including user information, shipping records, and potentially WordPress authentication credentials.
If Mitigated
Limited impact with proper input validation and parameterized queries preventing successful exploitation.
🎯 Exploit Status
Direct parameter manipulation via HTTP requests to vulnerable endpoints. No authentication required.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Version after 2.5.8
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3237773/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'LTL Freight Quotes – Unishippers Edition'. 4. Click 'Update Now' if available, or manually update to latest version. 5. Verify plugin version is above 2.5.8.
🔧 Temporary Workarounds
Temporary Plugin Deactivation
WordPressDisable the vulnerable plugin until patched version is available
wp plugin deactivate ltl-freight-quotes-unishippers-edition
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block SQL injection patterns targeting the 'edit_id' parameter
- Restrict access to the WordPress admin interface and plugin endpoints using IP whitelisting or authentication requirements
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'LTL Freight Quotes – Unishippers Edition' version 2.5.8 or lower
Check Version:
wp plugin get ltl-freight-quotes-unishippers-edition --field=version
Verify Fix Applied:
Verify plugin version is above 2.5.8 in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual SQL error messages in WordPress debug logs
- Multiple requests to shipping-rules-save.php with SQL-like patterns in parameters
Network Indicators:
- HTTP POST/GET requests to shipping-rules-save.php containing SQL keywords in 'edit_id' parameter
SIEM Query:
source="wordpress.log" AND "shipping-rules-save.php" AND ("SQL" OR "syntax" OR "edit_id")