CVE-2020-7376: rapid7 metasploit Relative Path Traversal
Vulnerability summary
CVE-2020-7376 is a high (CVSS 10.0) Relative Path Traversal vulnerability in rapid7 metasploit. EPSS estimates a 1.12% chance of exploitation in the next 30 days, higher than 65.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 24-08-2020PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
The Metasploit Framework module "post/osx/gather/enum_osx module" is affected by a relative path traversal vulnerability in the get_keychains method which can be exploited to write arbitrary files to arbitrary locations on the host filesystem when the module is run on a malicious host.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.12%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
0.00 pp
From 1.12% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundMetasploit Framework
Maturity: poc
Weaknesses
CWE · root cause- CWE-23Relative Path TraversalThe product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Rapid72 products
- metasploit≥ 4.11.7, < 6.0.3
- metasploit framework≥ 4.11.7, < 4.11.7* | ≥ 6.0.3, < 6.0.3
1 vendor · 2 products
References
1 links- github.com/rapid7/metasploit-framework/issues/14008X Refsource CONFIRMExploitPatchThird Party Advisory