CVE-2022-30955 Missing permission check in Jenkins GitLab Plugin

Medium 6.5 Published Updated

Attackers with read permissions can enumerate stored credential IDs due to missing authorization checks in the Jenkins 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-2022-30955?

CVE-2022-30955 is a medium-severity missing authorization vulnerability in Jenkins GitLab Plugin, published on 17 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins GitLab Plugin 1.5.31 and earlier does not perform a permission check in an HTTP endpoint, allowing attackers with Overall/Read permission to enumerate credentials IDs of credentials stored in Jenkins.

Weakness: CWE-862

Which versions are affected by CVE-2022-30955?

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.32
org.jenkins-ci.plugins:gitlab-plugin MavenAll versions1.5.32

Products include Jenkins Gitlab.

How do I fix CVE-2022-30955?

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

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

Is CVE-2022-30955 being exploited?

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

Sources

Also known as GHSA-5phj-qv74-pv4w.

Is CVE-2022-30955 in your software?

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

Check your SBOMs for free