CVE-2023-24456

Jenkins Keycloak Authentication Plugin 2.3.0 and earlier does not invalidate the previous session on login

Critical · published January 24, 2023

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

🔥 Logging in? Don’t forget to check those old keys! The Jenkins Keycloak Authentication Plugin allows users to keep old sessions alive even after a new login, leaving your account wide open! Think of it as a hotel where you can reserve several rooms without automatically checking out of the old ones — the receptionist forgot to clear the previous bookings, and anyone with the right info can walk right back in! This oversight could allow an attacker to hijack active sessions, gaining unauthorized access to sensitive data and operations. Imagine a thief slipping into your account while you're busy with another task — absolutely devastating! This isn't just a minor inconvenience; it puts your entire Jenkins setup at risk.

Put simply

Think of it as a hotel where you can reserve several rooms without automatically checking out of the old ones — the receptionist forgot to clear the previous bookings, and anyone with the right info can walk right back in! The vulnerability stems from the Keycloak Authentication Plugin failing to invalidate the previous session upon a new login, making it possible for an attacker to reuse an old session token without proper authentication checks.

What to do

This oversight could allow an attacker to hijack active sessions, gaining unauthorized access to sensitive data and operations. Imagine a thief slipping into your account while you're busy with another task — absolutely devastating! This isn't just a minor inconvenience; it puts your entire Jenkins setup at risk. Update your Jenkins Keycloak Authentication Plugin to version 2.3.1 or later to close this hole. Additionally, consider implementing session management best practices to ensure sessions are invalidated appropriately upon login. Don't leave your doors open! You've got this! Follow these steps to secure your Jenkins installation, and you'll be a security hero 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.01206 · 68.1th percentile
Published
2023-01-24T00:00Z
EPSS history
Timeline
  • 24 JAN 00:00Z
    Jenkins Keycloak Authentication Plugin 2.3.0 and earlier does not invalidate the previous session on login
    cvelistv5