CVE-2025-23967

9.3 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the GG Bought Together for WooCommerce WordPress plugin allows attackers to execute arbitrary SQL commands on the database. All WordPress sites using vulnerable versions of this plugin are affected, potentially leading to data theft, modification, or deletion.

💻 Affected Systems

Products:
  • GG Bought Together for WooCommerce WordPress plugin
Versions: n/a through 1.0.2
Operating Systems: All platforms running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the vulnerable plugin activated. Requires WooCommerce to be installed.

⚠️ 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 sensitive customer data (personal information, payment details), administrative takeover of the WordPress site, and potential server compromise if database permissions allow file system access.

🟠

Likely Case

Data exfiltration of WooCommerce customer information, order history, and potentially credential theft from WordPress user tables.

🟢

If Mitigated

Limited impact with proper database user permissions, though still allows unauthorized data access within the plugin's database context.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

SQL injection vulnerabilities in WordPress plugins are frequently weaponized quickly. The CVE description suggests unauthenticated access is possible.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.3 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/gg-bought-together/vulnerability/wordpress-gg-bought-together-for-woocommerce-1-0-2-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'GG Bought Together for WooCommerce'. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 1.0.3+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the GG Bought Together plugin until patched

wp plugin deactivate gg-bought-together

Web Application Firewall (WAF) rules

all

Implement SQL injection detection and blocking rules

🧯 If You Can't Patch

  • Implement strict database user permissions limiting plugin database account to SELECT-only operations
  • Deploy a web application firewall with SQL injection protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for GG Bought Together version. If version is 1.0.2 or earlier, you are vulnerable.

Check Version:

wp plugin get gg-bought-together --field=version

Verify Fix Applied:

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

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in WordPress or database logs
  • Multiple failed SQL syntax attempts
  • Unexpected database errors in WordPress debug logs

Network Indicators:

  • HTTP requests with SQL syntax in parameters (UNION, SELECT, etc.)
  • Abnormal traffic patterns to WooCommerce product pages

SIEM Query:

source="wordpress.log" AND "gg-bought-together" AND ("SQL" OR "database error" OR "mysql")

🔗 References

📤 Share & Export