CVE-2025-28942
📋 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
- Trust Payments Gateway 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 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.
🎯 Exploit Status
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
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
allTemporarily disable the vulnerable plugin until patched
wp plugin deactivate trust-payments-gateway-for-woocommerce
Web Application Firewall
allDeploy 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"