CVE-2025-22713

9.8 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the WooCommerce Orders & Customers Exporter plugin allows attackers to execute arbitrary SQL commands on WordPress/WooCommerce databases. It affects all WordPress sites using the vulnerable plugin version, potentially exposing customer data, order information, and administrative credentials.

💻 Affected Systems

Products:
  • WooCommerce Orders & Customers Exporter WordPress Plugin
Versions: All versions up to and including 5.4
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce installed. The plugin must be active and accessible.

⚠️ 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

Complete database compromise leading to data theft, privilege escalation, remote code execution via database functions, and full site takeover.

🟠

Likely Case

Extraction of sensitive customer data (PII, payment info), order details, and administrative credentials from the WordPress database.

🟢

If Mitigated

Limited data exposure if database permissions are restricted, but SQL injection still allows unauthorized data access.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

SQL injection vulnerabilities are commonly weaponized. The high CVSS score suggests exploitation is straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 5.5 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/woocommerce-orders-ei/vulnerability/wordpress-woocommerce-orders-customers-exporter-plugin-5-4-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'WooCommerce Orders & Customers Exporter'. 4. Click 'Update Now' if available, or manually update to version 5.5+. 5. Verify the plugin is active and functioning.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the plugin until patched

wp plugin deactivate woocommerce-orders-ei

Web Application Firewall (WAF)

all

Deploy WAF rules to block SQL injection patterns

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries in custom code
  • Restrict database user permissions to minimum required privileges

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → WooCommerce Orders & Customers Exporter version. If version is 5.4 or lower, you are vulnerable.

Check Version:

wp plugin get woocommerce-orders-ei --field=version

Verify Fix Applied:

Confirm plugin version is 5.5 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts from single IP
  • Unexpected plugin file modifications

Network Indicators:

  • HTTP requests with SQL syntax in parameters
  • Unusual traffic to /wp-admin/admin-ajax.php or plugin endpoints

SIEM Query:

source="web_logs" AND (uri_path="*woocommerce-orders-ei*" OR uri_path="*admin-ajax*") AND (query="*SELECT*" OR query="*UNION*" OR query="*INSERT*" OR query="*DELETE*")

🔗 References

📤 Share & Export