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

8.8
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2022-2431
CVSS 8.8 (High)
Publicly Published July 27, 2022
Last Updated January 22, 2024
Researcher Chloe Chamberland - Wordfence

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.

References

Share

Vulnerability Details for Download Manager

Software Type Plugin
Software Slug download-manager (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.2.51, or a newer patched version
Affected Version
  • <= 3.2.50
Patched Version
  • 3.2.51

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation