Vulnerability Details : CVE-2019-5624
Rapid7 Metasploit Framework suffers from an instance of CWE-22, Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in the Zip import function of Metasploit. Exploiting this vulnerability can allow an attacker to execute arbitrary code in Metasploit at the privilege level of the user running Metasploit. This issue affects: Rapid7 Metasploit Framework version 4.14.0 and prior versions.
Vulnerability category: Directory traversalExecute code
Products affected by CVE-2019-5624
- cpe:2.3:a:rapid7:metasploit:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-5624
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-5624
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
7.4
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N |
1.1
|
5.8
|
cve@rapid7.con | |
7.3
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
1.3
|
5.9
|
NIST |
CWE ids for CVE-2019-5624
-
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.Assigned by:
- cve@rapid7.con (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2019-5624
-
https://blog.doyensec.com/2019/04/24/rubyzip-bug.html
On insecure zip handling, Rubyzip and Metasploit RCE (CVE-2019-5624) · Doyensec's BlogExploit;Third Party Advisory
-
https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416
Metasploit Release Notes Archive - April 2019Release Notes;Vendor Advisory
-
https://github.com/rapid7/metasploit-framework/pull/11716
Zip import directory traversal mitigation by sgonzalez-r7 · Pull Request #11716 · rapid7/metasploit-framework · GitHubExploit;Patch;Third Party Advisory
Jump to