CVE-2023-24427

Jenkins Bitbucket OAuth Plugin 0.12 and earlier does not invalidate the previous session on login

Critical · published January 24, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
64.3
In the wild
Unconfirmed
What it is

🚨 Login, and you're still in! 🎉 The Jenkins Bitbucket OAuth Plugin allows an active session to linger even after a new login—dangerous for anyone who assumes they’ve locked the door behind them! 🔥 Think of it as an all-you-can-eat buffet where you leave to refill your plate, only to find out someone else can use your old plate while you're gone! A returning guest could munch on your leftovers without permission. If an attacker gains access to a previously active session, they could manipulate settings, access sensitive data, or even hijack the Jenkins server. This would be catastrophic for any organization relying on Jenkins for CI/CD processes, potentially leading to data breaches or malicious deployments!

Put simply

Think of it as an all-you-can-eat buffet where you leave to refill your plate, only to find out someone else can use your old plate while you're gone! A returning guest could munch on your leftovers without permission. This vulnerability arises because the OAuth plugin fails to invalidate the older session upon a new login, leaving room for session fixation attacks, where an attacker could exploit an active session without proper authorization.

What to do

If an attacker gains access to a previously active session, they could manipulate settings, access sensitive data, or even hijack the Jenkins server. This would be catastrophic for any organization relying on Jenkins for CI/CD processes, potentially leading to data breaches or malicious deployments! Update to the latest version of the Jenkins Bitbucket OAuth Plugin to ensure previous sessions are invalidated on login. Additionally, consider implementing multi-factor authentication for an added layer of protection. Don't wait—act now! This is fixable! Follow these steps, and you’ll have your server secured in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01062 · 64.3th percentile
Published
2023-01-24T00:00Z
EPSS history
Timeline
  • 24 JAN 00:00Z
    Jenkins Bitbucket OAuth Plugin 0.12 and earlier does not invalidate the previous session on login
    cvelistv5