All-in-One WP Migration <= 7.58 - Directory Traversal to File Deletion on Windows Hosts
Strategic Overview
- Status
- Patched in 7.59
- Affected Plugin
- All-in-One WP Migration and Backup
- Affected Version
<= 7.58- CVSS
- 6.6Medium
- Weakness type
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CVE
CVE-2022-1476
At a glance
CVE-2022-1476 is a medium-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the All-in-One WP Migration and Backup WordPress plugin, affecting versions <= 7.58. It carries a CVSS score of 6.6 (reachable over the network; high confidentiality, integrity, availability impact). The issue is fixed in version 7.59; sites on affected versions should update now. Disclosed April 2022, reported by haidv35.
Vulnerability Overview
The All-in-One WP Migration plugin for WordPress is vulnerable to arbitrary file deletion via directory traversal due to insufficient file validation via the ~/lib/model/class-ai1wm-backups.php file, in versions up to, and including, 7.58. This can be exploited by administrative users, and users who have access to the site's secret key.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Reaching this weakness in All-in-One WP Migration and Backup <= 7.58 takes a caller who can reach the endpoint. Path traversal happens when user-controlled text is used to build a filesystem path without being constrained to an intended directory, so sequences like ../ walk the resolved path somewhere else.
Depending on the operation, it means reading files outside the intended folder — wp-config.php being the usual target — or writing to and deleting paths the web server can touch. For All-in-One WP Migration and Backup the fix is 7.59: builds <= 7.58 are affected, anything from 7.59 onward is not.
Remediation
Update to version 7.59, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to All-in-One WP Migration and Backup: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: All-in-One WP Migration and Backup 7.59 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in All-in-One WP Migration and Backup
- 8.8CVE-2026-19949: All-in-One WP Migration… Second-Order SQL Injection
CVE-2026-19949 - 8.8All-in-One WP Migration Authorization Bypass to Arbitrary File Upload
- 7.5CVE-2024-10942: All in One WP Migration <= 7.89 PHP Object Injection
CVE-2024-10942 - 7.5All-in-One WP Migration <= 2.0.4 Database Export
- 7.2CVE-2026-17533: All-in-One WP Migration and Backup < 7.108 RCE
CVE-2026-17533 - 7.2CVE-2024-9162: All-in-One WP Migration… Arbitrary PHP Code Injection
CVE-2024-9162 - 7.2CVE-2021-24216: All-in-One WP Migration <= 7.40 Arbitrary File Upload
CVE-2021-24216 - 6.1CVE-2022-2546: All-in-One WP Migration <= 7.62 Reflected XSS
CVE-2022-2546
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C