CVE-2019-5624
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 2.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.8% in the next 30 days (EPSS).
- Severity: 7.3 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.8% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- rapid7 Metasploit ≤ 4.14.0
Attack profile CVSS 3.1 · 7.3
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2019-5624.md and follow it. Check whether this project is affected by CVE-2019-5624. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/rapid7/metasploit-framework/pull/11716
- https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416
- https://github.com/rapid7/metasploit-framework/pull/11716
- https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416
References
- https://blog.doyensec.com/2019/04/24/rubyzip-bug.html
- https://github.com/rapid7/metasploit-framework/pull/11716
- https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416
- https://blog.doyensec.com/2019/04/24/rubyzip-bug.html
- https://github.com/rapid7/metasploit-framework/pull/11716
- https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416