CVE-2017-2652 Missing permission checks in Jenkins Distributed Fork Plugin

High 8.8 Published Updated

Attackers with basic read permissions can execute arbitrary shell commands on connected nodes due to missing authorization checks in the Distributed Fork plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-2652?

CVE-2017-2652 is a high-severity missing authorization vulnerability in DistFork Jenkins plugin, published on 27 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

It was found that there were no permission checks performed in the Distributed Fork plugin before and including 1.5.0 for Jenkins that provides the dist-fork CLI command beyond the basic check for Overall/Read permission, allowing anyone with that permission to run arbitrary shell commands on all connected nodes.

Weakness: CWE-287, CWE-862

Which versions are affected by CVE-2017-2652?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:distfork. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:distfork MavenAll versions1.6.0
org.jenkins-ci.plugins:distfork MavenAll versions1.6.0

Products include Jenkins Distributed Fork.

How do I fix CVE-2017-2652?

Upgrade org.jenkins-ci.plugins:distfork to 1.6.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2017-2652 being exploited?

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

Sources

Also known as GHSA-2cm5-f78c-h2c8.

Is CVE-2017-2652 in your software?

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

Check your SBOMs for free