CVE-2025-6437

7.5 HIGH

📋 TL;DR

This SQL injection vulnerability in the Ads Pro WordPress plugin allows unauthenticated attackers to execute arbitrary SQL queries through the 'oid' parameter. Attackers can extract sensitive information from the database, including user credentials, payment data, and other confidential information. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Ads Pro Plugin - Multi-Purpose WordPress Advertising Manager
Versions: All versions up to and including 4.89
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Any WordPress installation with the vulnerable plugin enabled is affected regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, privilege escalation, and potential site takeover via credential extraction.

🟠

Likely Case

Extraction of sensitive user data, plugin configuration secrets, and potentially WordPress admin credentials.

🟢

If Mitigated

Limited information disclosure if database permissions are properly restricted and sensitive data is encrypted.

🌐 Internet-Facing: HIGH - Unauthenticated exploitation via web requests makes all vulnerable sites immediately accessible to attackers.
🏢 Internal Only: LOW - This is primarily an internet-facing vulnerability, though internal attackers could also exploit it.

🎯 Exploit Status

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

SQL injection via GET/POST parameters is well-understood and easily automated by attackers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 4.90 or later

Vendor Advisory: https://codecanyon.net/item/ads-pro-plugin-multipurpose-wordpress-advertising-manager/10275010

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Ads Pro Plugin' and check for updates. 4. Update to version 4.90 or later. 5. Verify the update completed successfully.

🔧 Temporary Workarounds

Disable the vulnerable plugin

all

Temporarily disable the Ads Pro Plugin until patched

wp plugin deactivate ads-pro-plugin

Web Application Firewall rule

all

Block requests containing SQL injection patterns targeting the 'oid' parameter

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries at the application level
  • Restrict database user permissions to minimize potential damage from SQL injection

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins for Ads Pro Plugin version 4.89 or earlier

Check Version:

wp plugin list --name='ads-pro-plugin' --field=version

Verify Fix Applied:

Confirm plugin version is 4.90 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in web server logs
  • Multiple requests with SQL-like patterns in 'oid' parameter
  • Unexpected database queries from web application

Network Indicators:

  • HTTP requests with SQL injection payloads in parameters
  • Unusual database connection patterns from web server

SIEM Query:

web_access_logs WHERE url_parameters CONTAINS 'oid' AND (url_parameters CONTAINS 'UNION' OR url_parameters CONTAINS 'SELECT' OR url_parameters CONTAINS 'OR 1=1')

🔗 References

📤 Share & Export