CVE-2024-13750
📋 TL;DR
This SQL injection vulnerability in the Multilevel Referral Affiliate Plugin for WooCommerce allows authenticated attackers with Subscriber-level access or higher to execute arbitrary SQL queries. Attackers can extract sensitive information from the WordPress database, including user credentials, payment details, and other confidential data. All WordPress sites using this plugin up to version 2.27 are affected.
💻 Affected Systems
- Multilevel Referral Affiliate Plugin for WooCommerce
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Complete database compromise leading to theft of all user data, administrative credentials, payment information, and potential site takeover.
Likely Case
Extraction of user credentials, personal information, and affiliate/referral data from the database.
If Mitigated
Limited data exposure if database permissions are properly restricted and sensitive data is encrypted.
🎯 Exploit Status
SQL injection via 'orderby' parameter requires authenticated access but is technically simple to exploit.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.28 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/multilevel-referral-plugin-for-woocommerce
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Multilevel Referral Affiliate Plugin for WooCommerce'. 4. Click 'Update Now' if update is available. 5. If no update appears, manually download version 2.28+ from WordPress.org and replace the plugin files.
🔧 Temporary Workarounds
Temporary Plugin Deactivation
allDisable the vulnerable plugin until patched
wp plugin deactivate multilevel-referral-plugin-for-woocommerce
Web Application Firewall Rule
linuxBlock SQL injection attempts targeting the 'orderby' parameter
ModSecurity rule: SecRule ARGS:orderby "@detectSQLi" "id:1001,phase:2,deny,status:403"
🧯 If You Can't Patch
- Restrict user roles - remove Subscriber access or implement strict role-based access control
- Implement network segmentation to isolate the WordPress instance and limit database exposure
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Multilevel Referral Affiliate Plugin for WooCommerce version. If version is 2.27 or lower, you are vulnerable.
Check Version:
wp plugin get multilevel-referral-plugin-for-woocommerce --field=version
Verify Fix Applied:
Verify plugin version is 2.28 or higher in WordPress admin panel and test that the referral functionality still works without errors.
📡 Detection & Monitoring
Log Indicators:
- Unusual SQL queries in WordPress debug logs
- Multiple failed authentication attempts followed by successful Subscriber login
- Database queries with unusual 'ORDER BY' clauses
Network Indicators:
- HTTP POST requests to /wp-admin/admin-ajax.php with SQL injection patterns in orderby parameter
SIEM Query:
source="wordpress.log" AND "orderby" AND ("UNION" OR "SELECT" OR "FROM" OR "WHERE" OR "--" OR "#" OR ";")