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
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 Analysis
Technical Summary
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.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan, South Korea, Italy, Spain
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.