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-31015: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Adrian Tobey WordPress SMTP Service, Email Delivery Solved! — MailHawk

0
Unknown
VulnerabilityCVE-2025-31015cvecve-2025-31015
Published: Fri Apr 11 2025 (04/11/2025, 08:42:49 UTC)
Source: CVE Database V5
Vendor/Project: Adrian Tobey
Product: WordPress SMTP Service, Email Delivery Solved! — MailHawk

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Adrian Tobey WordPress SMTP Service, Email Delivery Solved! — MailHawk mailhawk allows PHP Local File Inclusion.This issue affects WordPress SMTP Service, Email Delivery Solved! — MailHawk: from n/a through <= 1.3.1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 00:51:53 UTC

Technical Analysis

CVE-2025-31015 is a vulnerability classified as Improper Control of Filename for Include/Require Statement in PHP programs, commonly known as a Remote File Inclusion (RFI) vulnerability. It affects the WordPress plugin 'SMTP Service, Email Delivery Solved! — MailHawk' developed by Adrian Tobey, specifically versions up to and including 1.3.1. The vulnerability stems from the plugin's failure to properly validate or sanitize user-supplied input used in PHP include or require statements. This flaw allows an attacker to manipulate the filename parameter to include remote files, potentially hosted on attacker-controlled servers. By exploiting this, an attacker can execute arbitrary PHP code within the context of the vulnerable web server, leading to full compromise of the affected WordPress site. The vulnerability does not require authentication or user interaction, increasing its risk profile. Although no known public exploits have been reported yet, the nature of RFI vulnerabilities historically leads to rapid exploitation once disclosed. The plugin is widely used for SMTP email delivery in WordPress environments, making many websites potentially vulnerable until patched. The absence of a CVSS score indicates that the vulnerability is newly published and pending detailed scoring. The vulnerability was reserved in late March 2025 and published in April 2025, indicating recent discovery. The lack of official patches at the time of reporting necessitates immediate attention from site administrators to monitor for updates and apply mitigations.

Potential Impact

The primary impact of CVE-2025-31015 is the potential for remote code execution on affected WordPress sites, which can lead to complete site compromise. Attackers exploiting this vulnerability could execute arbitrary PHP code, allowing them to manipulate website content, steal sensitive data such as user credentials and emails, deploy malware or ransomware, and pivot to other internal network systems. This can result in data breaches, defacement, loss of service, and reputational damage. Since the vulnerability does not require authentication, any attacker scanning for vulnerable sites could exploit it remotely. The widespread use of WordPress and the popularity of the MailHawk plugin for SMTP services increase the scope of affected systems globally. Organizations relying on this plugin for email delivery may face disruptions in their communication infrastructure if exploited. Additionally, compromised sites could be used as launchpads for further attacks or to distribute spam and phishing campaigns, amplifying the threat beyond the initial victim. The lack of known exploits currently provides a window for mitigation, but the risk remains high due to the ease of exploitation and potential severity of outcomes.

Mitigation Recommendations

1. Immediate action should be to monitor official sources such as the plugin developer’s website, WordPress plugin repository, and security advisories for patches addressing CVE-2025-31015 and apply them promptly once available. 2. Until a patch is released, disable or uninstall the vulnerable MailHawk plugin if feasible, especially on high-risk or production sites. 3. Implement strict input validation and sanitization on any user-supplied data that could influence file inclusion paths, potentially through custom code or security plugins that enforce such controls. 4. Employ Web Application Firewalls (WAFs) with rules designed to detect and block Remote File Inclusion attack patterns, such as suspicious URL parameters or attempts to include external resources. 5. Restrict PHP configuration settings by disabling allow_url_include and allow_url_fopen directives to prevent inclusion of remote files. 6. Conduct regular security audits and vulnerability scans on WordPress installations to detect the presence of vulnerable plugin versions. 7. Maintain regular backups of website data and configurations to enable quick recovery in case of compromise. 8. Educate site administrators and developers about the risks of insecure file inclusion and best practices for secure plugin management. 9. Limit plugin usage to trusted and actively maintained plugins, and remove unused or deprecated plugins to reduce attack surface.

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

Technical Details

Data Version
5.2
Assigner Short Name
Patchstack
Date Reserved
2025-03-26T09:23:06.940Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69cd733be6bfc5ba1def0e9c

Added to database: 4/1/2026, 7:34:19 PM

Last enriched: 4/2/2026, 12:51:53 AM

Last updated: 4/6/2026, 11:30:48 AM

Views: 4

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