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-2024-9162: CWE-94 Improper Control of Generation of Code ('Code Injection') in yaniiliev All-in-One WP Migration and Backup

0
High
VulnerabilityCVE-2024-9162cvecve-2024-9162cwe-94
Published: Mon Oct 28 2024 (10/28/2024, 05:32:24 UTC)
Source: CVE Database V5
Vendor/Project: yaniiliev
Product: All-in-One WP Migration and Backup

Description

CVE-2024-9162 is a high-severity vulnerability in the All-in-One WP Migration and Backup WordPress plugin that allows authenticated administrators to inject arbitrary PHP code via export files due to missing file type validation. This flaw enables attackers with admin privileges to create . php files containing malicious code on the server, potentially leading to remote code execution without user interaction. The vulnerability affects all versions up to and including 7. 86. Exploitation requires administrator-level access but no additional user interaction. Although no known exploits are currently reported in the wild, the impact on confidentiality, integrity, and availability is significant. Organizations using this plugin should prioritize patching or mitigating this issue to prevent potential server compromise. The threat primarily targets WordPress sites globally, with heightened risk in countries with widespread WordPress usage and active threat actor presence. Immediate mitigation steps include restricting administrator privileges, monitoring export file creation, and applying updates once available.

AI-Powered Analysis

AILast updated: 02/25/2026, 23:05:44 UTC

Technical Analysis

CVE-2024-9162 is a code injection vulnerability classified under CWE-94 affecting the All-in-One WP Migration and Backup plugin for WordPress, developed by yaniiliev. The vulnerability arises from insufficient validation of file types during the export process, allowing authenticated users with administrator-level privileges to generate export files with a .php extension on the server. By embedding arbitrary PHP code into these export files, attackers can achieve remote code execution (RCE) on the affected web server. This vulnerability affects all plugin versions up to and including 7.86. The CVSS v3.1 base score is 7.2, indicating high severity, with the vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, meaning the attack can be performed remotely over the network with low complexity but requires high privileges (administrator) and no user interaction. The scope is unchanged, but the impact on confidentiality, integrity, and availability is high due to the potential for full server compromise. No public exploits have been reported yet, but the vulnerability poses a significant risk to WordPress sites using this plugin, especially those with multiple administrators or less stringent access controls. The lack of file type validation during export is a critical design flaw that should be addressed by the vendor through patching. Until a patch is available, administrators should consider restricting export functionality or monitoring for suspicious export files with .php extensions.

Potential Impact

The vulnerability allows attackers with administrator privileges to execute arbitrary PHP code on the web server hosting the WordPress site, potentially leading to full server compromise. This can result in unauthorized data access, data modification, defacement, malware deployment, or pivoting to internal networks. The confidentiality, integrity, and availability of the affected systems are severely impacted. Since WordPress powers a significant portion of the web, and the All-in-One WP Migration and Backup plugin is widely used for site backups and migrations, the scope of affected systems is substantial. Organizations relying on this plugin face risks including data breaches, service disruptions, and reputational damage. The requirement for administrator-level access limits exploitation to insiders or attackers who have already compromised an admin account, but the ease of code injection and potential for remote code execution make this a critical threat. The absence of known exploits in the wild currently reduces immediate risk but does not diminish the urgency for remediation.

Mitigation Recommendations

1. Immediately restrict administrator privileges to trusted personnel only and audit existing admin accounts for suspicious activity. 2. Disable or limit the export functionality in the All-in-One WP Migration and Backup plugin until a security patch is released. 3. Monitor the server filesystem for creation of unexpected .php files, especially in directories used by the plugin for exports. 4. Implement Web Application Firewall (WAF) rules to detect and block suspicious requests related to export operations. 5. Regularly back up WordPress sites using alternative secure methods that do not rely on vulnerable plugins. 6. Once the vendor releases a patch, promptly update the plugin to the fixed version. 7. Employ intrusion detection systems to identify anomalous PHP execution or file creation patterns. 8. Educate administrators on the risks of privilege misuse and enforce strong authentication mechanisms to prevent account compromise. 9. Consider isolating WordPress environments using containerization or sandboxing to limit the impact of potential code execution. 10. Review and harden server permissions to prevent unauthorized file creation or execution outside expected directories.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-09-24T18:19:52.183Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b41b7ef31ef0b54fc7f

Added to database: 2/25/2026, 9:36:01 PM

Last enriched: 2/25/2026, 11:05:44 PM

Last updated: 2/26/2026, 8:31:09 AM

Views: 2

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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats