
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-4689 is a critical vulnerability in the Ads Pro Plugin – Multi-Purpose WordPress Advertising Manager for WordPress that enables unauthenticated remote code execution (RCE) via a chained SQL Injection and Local File Inclusion (LFI) attack. All versions up to and including 4.89 are affected. The vulnerability was published on July 2, 2025, and was discovered and reported by Wordfence. It carries a CVSS v3.1 base score of 9.8 (Critical) (Wordfence, Red Hat CVE).
The vulnerability is rooted in two chained weaknesses: CWE-89 (SQL Injection) and CWE-98 (Improper Control of Filename for Include/Require Statement in PHP – PHP Remote File Inclusion/LFI). An unauthenticated attacker can first upload a malicious image file (containing embedded PHP code) to the server, then leverage the SQL injection vulnerability to retrieve the path of the uploaded file, and finally trigger the Local File Inclusion vulnerability to execute the uploaded file as PHP code. No authentication or user interaction is required, and attack complexity is low, making this trivially exploitable over the network (Wordfence, ENISA EUVD).
Successful exploitation grants an unauthenticated remote attacker full code execution on the underlying WordPress server, resulting in complete compromise of confidentiality, integrity, and availability. An attacker can access, modify, or delete sensitive site data, install backdoors or web shells, deface the site, and potentially pivot to other systems on the same network infrastructure. The scope of impact is limited to the affected server but the severity is maximal given the lack of any authentication requirement (Wordfence, Red Hat CVE).
As of the time of publication, there is no public proof-of-concept (PoC) exploit code and no confirmed evidence of in-the-wild exploitation (Wordfence). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.203%, indicating a currently low (but non-negligible) probability of exploitation in the near term. No threat actor attribution has been reported (ENISA EUVD).
/wp-content/plugins/ads-pro/)..jpg or .png) with embedded PHP code (e.g., <?php system($_GET['cmd']); ?>) that bypasses file type validation.UNION SELECT, SLEEP(), encoded SQL syntax) in plugin-related parameters; outbound connections from the web server to unknown external IPs.shell.php.jpg) in WordPress upload directories (/wp-content/uploads/); newly created web shells or backdoor scripts in plugin or upload directories.include()/require() calls with user-supplied paths.bash, curl, wget, python) indicating command execution via the web shell.The primary remediation is to update the Ads Pro Plugin to a version newer than 4.89 as soon as a patched release is available from the vendor (Scripteo). If an immediate update is not possible, administrators should disable the plugin temporarily to eliminate the attack surface. Additional interim mitigations include deploying a Web Application Firewall (WAF) with rules targeting SQL injection and LFI patterns, restricting file upload permissions and enforcing strict file type validation at the server level, and monitoring server and WordPress logs for suspicious upload and file inclusion activity. Ensure all other WordPress core files and plugins are also kept up to date (Wordfence, ENISA EUVD).
Wordfence, the discovering and reporting organization, included CVE-2025-4689 in their weekly WordPress vulnerability report for the period of June 30 – July 6, 2025, highlighting it as a critical finding (Wordfence Blog). The vulnerability was also noted on the InfoSec Exchange Mastodon community shortly after disclosure. No significant vendor statements from Scripteo or broader media coverage have been identified at this time.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."