CVE-2020-2261 OS command execution vulnerability in Perfecto Plugin

High 8.8 Published Updated

Attackers with Job/Configure permission can execute arbitrary commands on the Jenkins controller via the Perfecto 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-2020-2261?

CVE-2020-2261 is a high-severity command injection vulnerability in Jenkins Perfecto Plugin, published on 16 Sep 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Perfecto Plugin 1.17 and earlier executes a command on the Jenkins controller, allowing attackers with Job/Configure permission to run arbitrary commands on the Jenkins controller

Weakness: CWE-78

Which versions are affected by CVE-2020-2261?

2 open source packages ship an affected version, including io.jenkins.plugins:perfecto. It affects 1 product.

PackageAffectedFixed in
io.jenkins.plugins:perfecto MavenAll versions1.18
io.jenkins.plugins:perfecto MavenAll versions1.18

Products include Jenkins Perfecto.

How do I fix CVE-2020-2261?

Upgrade io.jenkins.plugins:perfecto to 1.18 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-2261 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-jq84-6fmm-6qv6.

Is CVE-2020-2261 in your software?

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

Check your SBOMs for free