Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-4689: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in scripteo Ads Pro Plugin - Multi-Purpose WordPress Advertising Manager

0
Critical
VulnerabilityCVE-2025-4689cvecve-2025-4689cwe-98
Published: Wed Jul 02 2025 (07/02/2025, 03:47:21 UTC)
Source: CVE Database V5
Vendor/Project: scripteo
Product: Ads Pro Plugin - Multi-Purpose WordPress Advertising Manager

Description

The Ads Pro Plugin - Multi-Purpose WordPress Advertising Manager plugin for WordPress is vulnerable to Local File Inclusion which leads to Remote Code Execution in all versions up to, and including, 4.89. This is due to the presence of a SQL Injection vulnerability and Local File Inclusion vulnerability that can be chained with an image upload. This makes it possible for unauthenticated attackers to execute code on the server upload image files on the server than can be fetched via a SQL injection vulnerability, and ultimately executed as PHP code through the local file inclusion vulnerability.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 14:49:10 UTC

Technical Analysis

CVE-2025-4689 is a critical security vulnerability identified in the Ads Pro Plugin - Multi-Purpose WordPress Advertising Manager, a widely used plugin for managing advertisements on WordPress websites. The vulnerability affects all versions up to and including 4.89. It arises from a combination of a SQL Injection vulnerability and a Local File Inclusion (LFI) flaw. The SQL Injection allows an attacker to manipulate database queries, enabling them to reference uploaded image files. These image files can be maliciously crafted and uploaded without authentication. The LFI vulnerability then allows the attacker to include and execute these uploaded files as PHP code on the server. This chaining of vulnerabilities enables unauthenticated remote code execution (RCE), granting attackers full control over the affected web server. The vulnerability is classified under CWE-98, which concerns improper control of filenames in include/require statements, leading to code execution. The CVSS v3.1 base score is 9.8, reflecting the high impact on confidentiality, integrity, and availability, combined with the ease of exploitation (network attack vector, no privileges or user interaction required). Although no known exploits are currently reported in the wild, the critical nature of this vulnerability and the popularity of WordPress and this plugin make it a high-value target for attackers. The lack of available patches at the time of publication increases the urgency for mitigation.

Potential Impact

The impact of CVE-2025-4689 is severe for organizations running WordPress sites with the vulnerable Ads Pro Plugin installed. Successful exploitation results in remote code execution, allowing attackers to execute arbitrary PHP code on the web server. This can lead to full compromise of the web server, including data theft, website defacement, deployment of malware or ransomware, lateral movement within the network, and disruption of services. The vulnerability affects confidentiality by exposing sensitive data, integrity by allowing unauthorized code execution and modification of site content, and availability by potentially causing denial of service or server crashes. Given the unauthenticated nature of the exploit and no user interaction required, attackers can automate attacks at scale, increasing the risk of widespread compromise. Organizations with high-traffic websites, e-commerce platforms, or those handling sensitive customer data are particularly at risk. The absence of known exploits currently provides a small window for remediation before active exploitation begins.

Mitigation Recommendations

1. Immediate mitigation involves disabling or uninstalling the Ads Pro Plugin until a vendor patch is released. 2. Monitor official vendor channels and security advisories for patches or updates addressing CVE-2025-4689 and apply them promptly. 3. Implement Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection attempts and suspicious file inclusion patterns related to this plugin. 4. Restrict file upload permissions and validate uploaded files rigorously, ensuring only allowed file types and sizes are accepted. 5. Harden PHP configurations to disable dangerous functions such as include(), require(), and allow_url_include where not necessary. 6. Employ principle of least privilege on web server and database accounts to limit the impact of potential exploitation. 7. Conduct regular security audits and vulnerability scans focusing on WordPress plugins and their configurations. 8. Maintain comprehensive backups and incident response plans to recover quickly in case of compromise. 9. Consider isolating WordPress environments or using containerization to limit lateral movement in case of exploitation. These steps go beyond generic advice by focusing on the specific attack chain and plugin behavior.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-14T13:42:23.455Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6864b0fa6f40f0eb72917180

Added to database: 7/2/2025, 4:09:30 AM

Last enriched: 2/27/2026, 2:49:10 PM

Last updated: 3/25/2026, 1:43:07 AM

Views: 102

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses