GitLab releases fix for critical SAML authentication bypass flaw

Teilen:

GitLab has released security updates to address a critical SAML authentication bypass vulnerability impacting self-managed installations of the GitLab Community Edition (CE) and Enterprise Edition (EE).

Security Assertion Markup Language (SAML) is a single sign-on (SSO) authentication protocol that allows users to log in across different services using the same credentials.

The flaw, tracked as CVE-2024-45409, arises from an issue in the OmniAuth-SAML and Ruby-SAML libraries, which GitLab uses to handle SAML-based authentication.

The vulnerability occurs when the SAML response sent by an identity provider (IdP) to GitLab contains a misconfiguration or is manipulated.

Specifically, the flaw involves insufficient validation of key elements in the SAML assertions, such as the extern_uid (external user ID), which is used to uniquely identify a user across different systems.

An attacker can craft a malicious SAML response that tricks GitLab into recognizing them as authenticated users, bypassing SAML authentication and gaining access to the GitLab instance.

The CVE-2024-45409 flaw impacts GitLab 17.3.3, 17.2.7, 17.1.8, 17.0.8, 16.11.10, and all prior releases of those branches.

The vulnerability is addressed in GitLab versions 17.3.3, 17.2.7, 17.1.8, 17.0.8, and 16.11.10, where OmniAuth SAML has been upgraded to version 2.2.1 and Ruby-SAML to 1.17.0.

“We strongly recommend that all installations running a version affected by the issues described below are upgraded to the latest version as soon as possible,” warns GitLab in the bulletin.

No action needs to be taken for users of GitLab Dedicated instances on GitLab.com, as the issue impacts only self-managed installations.

For those who cannot upgrade to a safe version immediately, GitLab suggests enabling two-factor authentication (2FA) for all accounts, and setting the SAML 2FA bypass option to “do not allow.”

Signs of exploitation

While GitLab has not stated that the flaw was previously exploited, they did provide signs of attempted or successful exploitation in the bulletin, suggesting that malicious actors might already be leveraging the flaw in attacks.

The signs of attempted or successful exploitation are:

  • Errors related to RubySaml::ValidationError (unsuccessful attempts).
  • New or unusual extern_uid values in authentication logs (successful attempts).
  • Missing or incorrect information in SAML responses.
  • Multiple extern_uid values for a single user (indicates potential account compromise).
  • SAML authentication from an unfamiliar or suspicious IP address compared to the user’s usual access patterns.
Example log of successful exploitation
Example log of successful exploitation
Source: GitLab

BleepingComputer contacted GitLab yesterday to ask about whether or not they have observed active exploitation of CVE-2024-45409 in the wild, but we are still awaiting a response.

Bill Toulas

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

lade-bild
London, GB
2:18 am, Juni 24, 2025
Wetter-Symbol 15°C
L: 13° | H: 15°
klarer Himmel
Luftfeuchtigkeit: 72 %
Druck: 1014 mb
Wind: 11 mph WSW
Windböe: 0 mph
UV-Index: 0
Niederschlag: 0 mm
Wolken: 6%
Regen Chance: 0%
Sichtbarkeit: 10 km
Sonnenaufgang: 4:43 am
Sonnenuntergang: 9:21 pm
TäglichStündlich
Tägliche VorhersageStündliche Vorhersage
Today 10:00 pm
Wetter-Symbol
13° | 15°°C 0 mm 0% 14 mph 74 % 1015 mb 0 mm/h
Tomorrow 10:00 pm
Wetter-Symbol
16° | 28°°C 0 mm 0% 9 mph 86 % 1013 mb 0 mm/h
Do. Juni 26 10:00 pm
Wetter-Symbol
17° | 25°°C 1 mm 100% 17 mph 91 % 1017 mb 0 mm/h
Fr. Juni 27 10:00 pm
Wetter-Symbol
16° | 28°°C 0 mm 0% 16 mph 71 % 1020 mb 0 mm/h
Sa. Juni 28 10:00 pm
Wetter-Symbol
18° | 28°°C 0 mm 0% 12 mph 88 % 1023 mb 0 mm/h
Today 4:00 am
Wetter-Symbol
14° | 14°°C 0 mm 0% 9 mph 74 % 1015 mb 0 mm/h
Today 7:00 am
Wetter-Symbol
16° | 16°°C 0 mm 0% 11 mph 74 % 1014 mb 0 mm/h
Today 10:00 am
Wetter-Symbol
18° | 18°°C 0 mm 0% 13 mph 74 % 1013 mb 0 mm/h
Today 1:00 pm
Wetter-Symbol
20° | 20°°C 0 mm 0% 14 mph 72 % 1012 mb 0 mm/h
Today 4:00 pm
Wetter-Symbol
22° | 22°°C 0 mm 0% 13 mph 61 % 1012 mb 0 mm/h
Today 7:00 pm
Wetter-Symbol
23° | 23°°C 0 mm 0% 12 mph 52 % 1011 mb 0 mm/h
Today 10:00 pm
Wetter-Symbol
20° | 20°°C 0 mm 0% 9 mph 67 % 1013 mb 0 mm/h
Tomorrow 1:00 am
Wetter-Symbol
17° | 17°°C 0 mm 0% 8 mph 78 % 1013 mb 0 mm/h
Name Preis24H (%)
Bitcoin(BTC)
€90,715.90
4.31%
Ethereum(ETH)
€2,075.23
7.62%
Fesseln(USDT)
€0.86
0.04%
XRP(XRP)
€1.85
6.85%
Solana(SOL)
€123.96
8.68%
USDC(USDC)
€0.86
0.01%
Dogecoin(DOGE)
€0.140892
7.98%
Shiba Inu(SHIB)
€0.000010
9.36%
Pepe(PEPE)
€0.000009
11.28%
Nach oben scrollen