CVE-2017-5231: Rapid7 Metasploit - Path Traversal
- Cve: CVE-2017-5231
- Name: Rapid7 Metasploit - Path Traversal
- Description: All editions of Rapid7 Metasploit prior to version 4.13.0-2017020701 contain a directory traversal vulnerability in the Meterpreter stdapi CommandDispatcher.cmd_download() function. By using a specially-crafted build of Meterpreter, it is possible to write to an arbitrary directory on the Metasploit console with the permissions of the running Metasploit instance.
- Impact: Attackers can write arbitrary files to the server's filesystem, potentially leading to code execution or system compromise.
- Remediation: Update to version 4.13.0-2017020701 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
- Epss score: 0.01217
- Epss percentile: 0.69368
- Assignee: [email protected]
- Published at: 2017-03-02T20:59:00Z
- Age in days: 3554
- Modified at: 2026-06-17T01:20:12Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-5231
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://community.rapid7.com/community/infosec/blog/2017/03/01/multiple-vulnerabilities-affecting-four-rapid7-products | nvd | Mitigation, Vendor Advisory |
| http://www.securityfocus.com/bid/96954 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rapid7:metasploit | <= 4.13.19 | no | nvd | /v1/products/rapid7/metasploit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 130
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports