CVE-2025-31059

9.3 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the WBW Product Table PRO WordPress plugin allows attackers to execute arbitrary SQL commands on the database. All WordPress sites using this plugin from any version through 2.1.3 are affected. Attackers can potentially access, modify, or delete database content.

💻 Affected Systems

Products:
  • WBW Product Table PRO WordPress plugin
Versions: All versions through 2.1.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with the vulnerable plugin version active.

⚠️ 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 including data theft, data destruction, privilege escalation to administrator, and potential server takeover via SQL injection to RCE chaining.

🟠

Likely Case

Data exfiltration of sensitive information (user credentials, payment data, personal information) and database manipulation.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and database user privilege restrictions in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

SQL injection vulnerabilities in WordPress plugins are frequently weaponized quickly due to the large attack surface.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.1.4 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/woo-producttables-pro/vulnerability/wordpress-wbw-product-table-pro-2-1-3-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'WBW Product Table PRO'. 4. Click 'Update Now' if update is available. 5. If no update appears, manually download version 2.1.4+ from vendor and replace plugin files.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched.

wp plugin deactivate woocommerce-product-tables

Web Application Firewall

all

Implement WAF rules to block SQL injection patterns.

🧯 If You Can't Patch

  • Implement strict input validation and sanitization for all user inputs
  • Restrict database user permissions to minimum required privileges

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WBW Product Table PRO version 2.1.3 or earlier.

Check Version:

wp plugin get woocommerce-product-tables --field=version

Verify Fix Applied:

Verify plugin version is 2.1.4 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts from single IP
  • Unexpected database schema changes

Network Indicators:

  • HTTP requests with SQL syntax in parameters
  • Unusual outbound database connections

SIEM Query:

source="web_server" AND ("UNION SELECT" OR "SELECT * FROM" OR "INSERT INTO" OR "DROP TABLE") AND uri="*product-table*"

🔗 References

📤 Share & Export