CVE-2020-2242 Missing permission checks in Jenkins Database Plugin

Medium 6.5 Published Updated

Attackers with read access can connect to arbitrary databases using their own credentials due to missing permission checks in the Jenkins database 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-2242?

CVE-2020-2242 is a medium-severity missing authorization vulnerability in Jenkins database Plugin, published on 1 Sep 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A missing permission check in Jenkins database Plugin 1.6 and earlier allows attackers with Overall/Read access to Jenkins to connect to an attacker-specified database server using attacker-specified credentials.

Weakness: CWE-862

Which versions are affected by CVE-2020-2242?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:database MavenAll versions1.7
org.jenkins-ci.plugins:database MavenAll versions1.7

Products include Jenkins Database.

How do I fix CVE-2020-2242?

Upgrade org.jenkins-ci.plugins:database to 1.7 or later.

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

Is CVE-2020-2242 being exploited?

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

Sources

Also known as GHSA-hj36-v72x-cc6j.

Is CVE-2020-2242 in your software?

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

Check your SBOMs for free