CVE-2023-39153: CSRF vulnerability in GitLab Authentication Plugin

Summary

26/07/2023
Yes i
Moderate
5.4

CVE-2023-39153: CSRF vulnerability in GitLab Authentication Plugin. Affects org.jenkins-ci.plugins:gitlab-oauth versions < 1.18. Fixed in 1.18. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The GitLab Authentication Plugin is a Maven package that provides OAuth authentication for Jenkins users using GitLab as the identity provider. It allows users to log in to Jenkins using their GitLab credentials. The plugin version 1.17.1 and earlier are affected by a CSRF vulnerability in its OAuth flow.

Vulnerability Detail

The vulnerability in the GitLab Authentication Plugin arises from the absence of a state parameter in its OAuth flow. The state parameter is a unique and non-guessable value associated with each authentication request. This omission allows attackers to trick users into logging in to the attacker's account. The vulnerability has a CVSS score of 5.4, indicating a moderate severity level. The issue has been identified and fixed in version 1.18 of the plugin, which implements the state parameter in its OAuth flow.

How To Fix

Minimum fixed version

1.18

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. Users are advised to upgrade to the fixed version of the plugin.

Conclusion

The GitLab Authentication Plugin version 1.17.1 and earlier are affected by a CSRF vulnerability in its OAuth flow. This vulnerability allows attackers to trick users into logging in to their accounts. Users should upgrade to version 1.18 or later to fix the vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:gitlab-oauth →

Share this vulnerability

FAQ

The vulnerability allows attackers to trick users into logging in to their accounts, potentially leading to unauthorized access and misuse of sensitive information.

You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

The CVSS score of this vulnerability is 5.4, indicating a moderate severity level.

Yes, the vulnerability has been fixed in version 1.18 of the GitLab Authentication Plugin. Users are advised to upgrade to this version or later.

There are no specific workarounds mentioned for this vulnerability. Upgrading to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:gitlab-oauth.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.18

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback