CVE-2024-9162: CWE-94 Improper Control of Generation of Code ('Code Injection') in yaniiliev All-in-One WP Migration and Backup
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 Analysis
Technical Summary
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.
Affected Countries
United States, Germany, United Kingdom, India, Brazil, Canada, Australia, France, Netherlands, Japan, Italy
CVE-2024-9162: CWE-94 Improper Control of Generation of Code ('Code Injection') in yaniiliev 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
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.
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 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.
Related Threats
CVE-2026-1698: CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax in arcinfo PcVue
MediumCVE-2026-1697: CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in arcinfo PcVue
MediumCVE-2026-1696: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in arcinfo PcVue
LowCVE-2026-1695: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in arcinfo PcVue
MediumCVE-2026-1694: CWE-201 Insertion of Sensitive Information into Sent Data in arcinfo PcVue
LowActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.