CVE-2020-7376 Rapid7 Metasploit Framework Relative Path Traversal in enum_osx module

High 7.1 Published Updated

An attacker can write arbitrary files to arbitrary locations on the host filesystem by exploiting a path traversal flaw in the Metasploit enum_osx module.

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

What is CVE-2020-7376?

CVE-2020-7376 is a high-severity path traversal vulnerability in Rapid7 Metasploit Framework, published on 24 Aug 2020. 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

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.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2020-7376?

It affects 1 product.

Products include Rapid7 Metasploit.

How do I fix CVE-2020-7376?

No fix has been published for CVE-2020-7376 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-2020-7376 being exploited?

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

Sources

Also known as GHSA-pvg7-xxgr-rgpc.

Is CVE-2020-7376 in your software?

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

Check your SBOMs for free