CVE-2022-2431 Download Manager <= 3.2.50 - Authenticated (Contributor+) Arbitrary File Deletion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPWordPress
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| download-manager Download Manager | >= 3.2.50, <= 3.2.50 | after 3.2.50 | Fixed |
| w3eden download manager | <= 3.2.50 | after 3.2.50 | Fixed |
| wordpress download-manager(WordPress) | < 3.2.51 | 3.2.51 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| download-manager Download Manager | >= 3.2.50, <= 3.2.50 | No fix listed |
| w3eden download manager | <= 3.2.50 | No fix listed |
| wordpress download-manager(WordPress) | < 3.2.51 | 3.2.51 |
References
- plugins.trac.wordpress.org patch third-party-advisory
- packetstormsecurity.com third-party-advisory vdb-entry
- www.wordfence.com exploit third-party-advisory
- Wordfence Intelligence third-party-advisory
- www.cve.org