Download Manager: Externally Controlled Reference to a Resource in Another Sphere
CVE-2022-2431 is a high-severity externally controlled reference to a resource in another sphere vulnerability in Download Manager, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected Download Manager versions: 3.2.50 and earlier. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 3.91% chance of exploitation within 30 days, which is in the top 9.53% of all scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Download Manager you run against the affected versions below, and install the vendor's latest release.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Download-manager | Download Manager | 3.2.50 and earlier | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.1 | High | CNA (wordfence.com) |
| CVSS 3.1 | 8.8 | High | NVD |
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Externally Controlled Reference to a Resource in Another Sphere
The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
More Externally Controlled Reference to a Resource in Another Sphere vulnerabilities (CWE-610)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Third-party and government advisories
- packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txtThird Party Advisory, VDB Entry
Technical write-ups (may include proof of concept)
- wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/Exploit, Third Party Advisory
Other vulnerabilities in Download Manager
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Recent Externally Controlled Reference to a Resource in Another Sphere vulnerabilities
- 8.2 High severity
- 7.8 High severity
- 9.8 Critical severity
- 7.8 High severity
- 7.5 High severity
- 8.8 High severity
Spotted an error? Tell us.