CVE-2025-28942

9.3 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the Trust Payments Gateway for WooCommerce plugin allows attackers to execute arbitrary SQL commands on the database. It affects all WooCommerce sites using this payment gateway plugin. Attackers could potentially steal sensitive customer data, modify database contents, or gain administrative access.

💻 Affected Systems

Products:
  • Trust Payments Gateway for WooCommerce
Versions: All versions up to and including 1.1.4
Operating Systems: Any OS running WordPress/WooCommerce
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with WooCommerce and the Trust Payments plugin installed and activated.

⚠️ 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 theft of all customer payment data, order history, and personal information, followed by website defacement or ransomware deployment.

🟠

Likely Case

Data exfiltration of customer information including names, addresses, and partial payment details, potentially leading to identity theft or fraud.

🟢

If Mitigated

Limited impact due to database permissions restrictions, but still potential for data leakage of non-sensitive information.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

SQL injection vulnerabilities are commonly exploited with automated tools. The public disclosure increases likelihood of exploitation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.1.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/trust-payments-hosted-payment-pages-integration/vulnerability/wordpress-trust-payments-gateway-for-woocommerce-plugin-1-1-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 'Trust Payments Gateway for WooCommerce'. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 1.1.5+ from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate trust-payments-gateway-for-woocommerce

Web Application Firewall

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 for plugin functionality

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Trust Payments Gateway for WooCommerce' version 1.1.4 or earlier

Check Version:

wp plugin get trust-payments-gateway-for-woocommerce --field=version

Verify Fix Applied:

Verify plugin version is 1.1.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 database error messages in web server logs

Network Indicators:

  • SQL syntax in HTTP POST parameters
  • Unusual traffic patterns to WooCommerce endpoints

SIEM Query:

source="web_server" AND ("sql" OR "union" OR "select" OR "insert") AND uri_path="/wp-admin/admin-ajax.php"

🔗 References

📤 Share & Export