CVE-2022-2431 Download Manager <= 3.2.50 - Authenticated (Contributor+) Arbitrary File Deletion

High 8.1 Published Updated

Authenticated contributors can delete arbitrary files via path traversal, potentially resetting the site to enable remote code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-2431?

CVE-2022-2431 is a high-severity path traversal vulnerability in download-manager Download Manager, published on 6 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Download Manager plugin for WordPress is vulnerable to arbitrary file deletion in versions up to, and including 3.2.50. This is due to insufficient file type and path validation on the deleteFiles() function found in the ~/Admin/Menu/Packages.php file that triggers upon download post deletion. This makes it possible for contributor level users and above to supply an arbitrary file path via the 'file[files]' parameter when creating a download post and once the user deletes the post the supplied arbitrary file will be deleted. This can be used by attackers to delete the /wp-config.php file which will reset the installation and make it possible for an attacker to achieve remote code execution on the server.

Weakness: CWE-610, CWE-73

Which versions are affected by CVE-2022-2431?

It affects 1 product.

Products include W3eden Download Manager.

How do I fix CVE-2022-2431?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-2431 being exploited?

There is no known exploitation of CVE-2022-2431 in the wild and no public exploit code.

Sources

Also known as GHSA-3hhq-xm5h-wcvh.

Is CVE-2022-2431 in your software?

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

Check your SBOMs for free