CVE-2025-4689
📋 TL;DR
This vulnerability allows unauthenticated attackers to execute arbitrary code on WordPress servers running the vulnerable Ads Pro Plugin. Attackers can chain SQL injection with local file inclusion via image uploads to achieve remote code execution. All WordPress sites using Ads Pro Plugin versions up to 4.89 are affected.
💻 Affected Systems
- Ads Pro Plugin - Multi-Purpose WordPress Advertising Manager
📦 What is this software?
Ads Pro by Scripteo
⚠️ Risk & Real-World Impact
Worst Case
Complete server compromise allowing attackers to install backdoors, steal data, deploy ransomware, or pivot to other systems in the network.
Likely Case
Website defacement, malware distribution, credential theft, and unauthorized access to sensitive data stored on the server.
If Mitigated
Limited impact if proper web application firewalls, file upload restrictions, and network segmentation are in place.
🎯 Exploit Status
The vulnerability chain (SQLi → LFI → RCE) is well-documented and relatively easy to exploit.
🛠️ 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 click 'Update Now'. 4. Verify version is 4.90 or higher.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily deactivate the Ads Pro Plugin until patched
wp plugin deactivate ads-pro-plugin
Restrict file uploads
linuxBlock image uploads to the plugin directory via .htaccess or web server config
<FilesMatch "\.(php|php5|php7|phtml)$">
Order Allow,Deny
Deny from all
</FilesMatch>
🧯 If You Can't Patch
- Remove the Ads Pro Plugin completely from your WordPress installation
- Implement a web application firewall (WAF) with rules blocking SQL injection and local file inclusion attempts
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins for Ads Pro Plugin version 4.89 or lower
Check Version:
wp plugin get ads-pro-plugin --field=version
Verify Fix Applied:
Confirm plugin version is 4.90 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to /wp-content/plugins/ads-pro-plugin/
- SQL error messages in web server logs
- Unexpected file uploads to plugin directories
Network Indicators:
- HTTP requests with SQL injection patterns targeting plugin endpoints
- File inclusion attempts using ../ patterns
SIEM Query:
source="web_logs" AND (uri="*ads-pro-plugin*" AND (method="POST" OR status="500"))