CVE-2017-2298 Path traversal in mcollective

Medium 6.5 Published Updated

A compromised server can write files to arbitrary locations on the client via path traversal in the mcollective-sshkey-security plugin.

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-2298?

CVE-2017-2298 is a medium-severity path traversal vulnerability in Puppet mcollective, published on 30 Jun 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

The mcollective-sshkey-security plugin before 0.5.1 for Puppet uses a server-specified identifier as part of a path where a file is written. A compromised server could use this to write a file to an arbitrary location on the client with the filename appended with the string "_pub.pem".

Weakness: CWE-20

Which versions are affected by CVE-2017-2298?

It affects 1 product.

Products include Puppet Mcollective-Sshkey-Security.

How do I fix CVE-2017-2298?

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

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

Sources

Also known as GHSA-3wcp-fjfh-pw9r.

Is CVE-2017-2298 in your software?

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

Check your SBOMs for free