CVE-2022-2431

Public Exploit
Download Manager <= 3.2.50 - Authenticated (Contributor+) Arbitrary File Deletion

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.

Categories

8.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 4.78% Top 15%
Third-Party Advisory packetstormsecurity.com Third-Party Advisory wordpress.org Third-Party Advisory wordfence.com
Affected: download-manager Download Manager
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-2431?
CVE-2022-2431 has been scored as a high severity vulnerability.
How to fix CVE-2022-2431?
To fix CVE-2022-2431, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-2431 being actively exploited in the wild?
It is possible that CVE-2022-2431 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~5% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-2431?
CVE-2022-2431 affects download-manager Download Manager.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.