CVE-2022-2431 Download Manager <= 3.2.50 - Authenticated (Contributor+) Arbitrary File Deletion
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.
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.
Other vulnerabilities in download-manager Download Manager
- CVE-2022-2436 Download Manager <= 3.2.49 - Authenticated (Contributor+) PHAR Deserialization
- CVE-2021-25069 WordPress Download Manager < 3.2.34 - Authenticated SQL Injection to Reflected XSS
- CVE-2014-9260 Missing authorization in n/a
- CVE-2024-2098 Download Manager <= 3.2.89 - Improper Authorization via protectMediaLibrary
- CVE-2023-6421 Download Manager < 3.2.83 - Unauthenticated Protected File Download Password Leak
Sources
Also known as GHSA-3hhq-xm5h-wcvh.