CVE-2019-5624 Rapid7 Metasploit Framework Zip Import Directory Traversal

High 7.4 Published Updated

Attackers can execute arbitrary code via path traversal in the Zip import function of Metasploit Framework.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-5624?

CVE-2019-5624 is a high-severity path traversal vulnerability in Rapid7 Metasploit Framework, published on 30 Apr 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2019-5624?

It affects 1 product.

Products include Rapid7 Metasploit.

How do I fix CVE-2019-5624?

No fix has been published for CVE-2019-5624 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-5624 being exploited?

There is no known exploitation of CVE-2019-5624 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-9j7m-jqrm-mcj3.

Is CVE-2019-5624 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free