CVE-2022-27206 Client Secret stored in plain text by Jenkins GitLab Authentication Plugin
Attackers with file system access can read unencrypted GitLab client secrets from Jenkins configuration, potentially bypassing authentication.
- 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-27206?
CVE-2022-27206 is a medium-severity vulnerability in Jenkins GitLab Authentication Plugin, published on 15 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins GitLab Authentication Plugin 1.13 and earlier stores the GitLab client secret unencrypted in the global config.xml file on the Jenkins controller where it can be viewed by users with access to the Jenkins controller file system.
Weakness: CWE-522
Which versions are affected by CVE-2022-27206?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:gitlab-oauth. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:gitlab-oauth Maven | All versions | 1.14 |
org.jenkins-ci.plugins:gitlab-oauth Maven | All versions | 1.14 |
Products include Jenkins Gitlab Authentication.
How do I fix CVE-2022-27206?
Upgrade org.jenkins-ci.plugins:gitlab-oauth to 1.14 or later.
Is CVE-2022-27206 being exploited?
There is no known exploitation of CVE-2022-27206 in the wild and no public exploit code.
Other vulnerabilities in Jenkins GitLab Authentication Plugin
Sources
Also known as GHSA-hx3r-qwxv-5jw9.