CVE-2019-10301 Jenkins GitLab Plugin missing permission checks

High 8.8 Published Updated

Attackers with read permissions can bypass authorization to connect to malicious URLs and capture stored Jenkins credentials via the GitLab 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-2019-10301?

CVE-2019-10301 is a high-severity missing authorization vulnerability in Jenkins GitLab Plugin, published on 18 Apr 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A missing permission check in Jenkins GitLab Plugin 1.5.11 and earlier in the GitLabConnectionConfig#doTestConnection form validation method allowed attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

Weakness: CWE-862

Which versions are affected by CVE-2019-10301?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:gitlab-plugin MavenAll versions1.5.12
org.jenkins-ci.plugins:gitlab-plugin MavenAll versions1.5.12

Products include Jenkins Gitlab.

How do I fix CVE-2019-10301?

Upgrade org.jenkins-ci.plugins:gitlab-plugin to 1.5.12 or later.

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

Is CVE-2019-10301 being exploited?

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

Sources

Also known as GHSA-923w-9p3x-hmgw.

Is CVE-2019-10301 in your software?

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

Check your SBOMs for free