CVE-2024-9162
published high CVSS 3.1 · 7.2All-in-One WP Migration and Backup <= 7.86 - Authenticated (Administrator+) Arbitrary PHP Code Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| servmask | — | All-in-One WP Migration and Backup0 through 7.86 · Other versions: unaffected | Affected | Not stated | Wordfence |
| yaniiliev | — | all_in_one_wp_migration_and_backup0 through 7.86 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
The All-in-One WP Migration and Backup plugin for WordPress is vulnerable to arbitrary PHP Code Injection due to missing file type validation during the export in all versions up to, and including, 7.86. This makes it possible for authenticated attackers, with Administrator-level access and above, to create an export file with the .php extension on the affected site's server, adding an arbitrary PHP code to it, which may make remote code execution possible.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| servmask | All-in-One WP Migration and Backup | 0 through 7.86 (affected · semver)Default: unaffected | Wordfence · cna |
| yaniiliev | all_in_one_wp_migration_and_backup | 0 through 7.86 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
5- https://github.com/d0n601/CVE-2024-9162
- https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/trunk/lib/controller/class-ai1wm-backups-controller.php#L60
- https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/trunk/lib/controller/class-ai1wm-export-controller.php#L36
- https://ryankozak.com/posts/CVE-2024-9162
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d97c3379-56c9-4261-9a70-3119ec121a40?source=cve
Provider assertions
2Wordfence · cna
All-in-One WP Migration and Backup <= 7.86 - Authenticated (Administrator+) Arbitrary PHP Code Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1e19fe79561fd8fe21b9a69cdeb6c6f070751f2a22c7f4cdb1364462e0ecab3b
- Ingested
- 23 Sep 2026, 08:34:40 UTC
- Source record
- Official CVE record