CVE-2024-9162 All-in-One WP Migration and Backup <= 7.86 - Authenticated (Administrator+) Arbitrary PHP Code Injection

High 7.2 Published Updated

Administrators can inject arbitrary PHP code via export files, enabling remote code execution on WordPress sites using this plugin.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-9162?

CVE-2024-9162 is a high-severity code injection vulnerability in servmask All-in-One WP Migration and Backup, published on 28 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2024-9162?

How do I fix CVE-2024-9162?

No fix has been published for CVE-2024-9162 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-9162 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9162 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-qv4p-vph4-f9fc.

Is CVE-2024-9162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free