CVE-2026-19349
KrytyczneCVSS 9.8Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 18 - wyżej niż 18% wszystkich znanych CVE
Streszczenie
Lemonldap::NG::Portal w wersjach od 2.0.0 do 2.16.9, od 2.17.0 do 2.21.5 oraz od 2.22.0 do 2.23.3 dla Perla umożliwia obejście uwierzytelniania poprzez parametr stanu OAuth2 przechowywany jako sesja SSO w backendach GitHub i LinkedIn. Atakujący może odtworzyć identyfikator sesji jako ciasteczko sesyjne i uzyskać ważną sesję SSO bez uwierzytelniania.
Ocena ryzyka
Ryzyko nieautoryzowanego dostępu do systemu dla każdego odwiedzającego, który dotrze do punktu końcowego GitHub lub LinkedIn, co może prowadzić do naruszenia poufności i integralności danych.
Rekomendacja
Zaktualizuj Lemonldap::NG::Portal do wersji 2.16.9, 2.21.5 lub 2.23.3 (lub nowszej) oraz sprawdź konfigurację reguł dostępu, aby nie zezwalać na domyślny dostęp bez uwierzytelnienia.
Oryginalny opis (angielski, źródło NVD)
Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from 2.22.0 before 2.23.3 for Perl allow authentication bypass via an OAuth2 state parameter stored as an SSO session in the GitHub and LinkedIn backends. Before redirecting to the identity provider, extractFormInfo() creates the state session with the positional call `getApacheSession( undef, 1, 0, 'GitHubState' )`. getApacheSession() takes a session id followed by a named argument hash, so the trailing arguments become that hash, `kind` defaults to SSO, and the state is written to the global session storage as a regular SSO session. Its identifier is handed to the unauthenticated visitor as the state parameter of the redirection URL. Any visitor who reaches the GitHub or LinkedIn endpoint can replay that identifier as a session cookie and obtain a valid SSO session without authenticating. The session holds neither _user nor authenticationLevel, which the shipped bootstrap configuration accepts because it grants virtual hosts a "default => accept" access rule; deployments whose rules test the user or require an authentication level are less exposed. Only configurations with the GitHub or LinkedIn authentication module enabled are affected.

