CVE-2017-5229 Path traversal in Metasploit

High 7.1 Published Updated

Attackers can write arbitrary files to the Metasploit console via a crafted Meterpreter payload, potentially compromising the operator's system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2017-5229?

CVE-2017-5229 is a high-severity path traversal vulnerability in Rapid7 Metasploit, published on 2 Mar 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

All editions of Rapid7 Metasploit prior to version 4.13.0-2017020701 contain a directory traversal vulnerability in the Meterpreter extapi Clipboard.parse_dump() 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.

Weakness: CWE-22

Which versions are affected by CVE-2017-5229?

It affects 1 product.

Products include Rapid7 Metasploit.

How do I fix CVE-2017-5229?

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

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

Sources

Also known as GHSA-p6q9-gh69-5434.

Is CVE-2017-5229 in your software?

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

Check your SBOMs for free