Katalog CVE

CVE-2026-53425

WysokieCVSS 7.6
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.18%

Percentyl 7 - wyżej niż 7% wszystkich znanych CVE

Streszczenie

Samly od wersji 0.3.0 ma podatność polegającą na niewystarczającej weryfikacji autentyczności danych, umożliwiającą atakującemu ustanowienie uwierzytelnionej sesji przy użyciu odpowiedzi SAML, której dostawca usługi nie żądał. Walidacja nie porównuje atrybutu InResponseTo z identyfikatorem żądania AuthnRequest.

Ocena ryzyka

Atakujący może uzyskać dostęp do sesji ofiary, wykorzystując podpisaną asercję od zaufanego IdP, co może prowadzić do nieautoryzowanego dostępu do aplikacji.

Rekomendacja

Zaktualizuj samly do wersji, która naprawia tę podatność, lub zastosuj dodatkowe mechanizmy walidacji odpowiedzi SAML, takie jak sprawdzanie InResponseTo.

Inne podatności w samly

Oryginalny opis (angielski, źródło NVD)

Insufficient Verification of Data Authenticity vulnerability in dropbox samly allows an attacker to establish an authenticated session using a SAML response the service provider never requested. Samly.SPHandler.validate_authresp/3 in lib/samly/sp_handler.ex validates a SAML response for the SP-initiated flow by comparing only the RelayState value, the IdP identifier, and the presence of a target URL held in the session. It never compares SubjectConfirmationData/@InResponseTo against the ID of the AuthnRequest the service provider issued, and that request ID is never persisted, so no comparison is possible. SAML 2.0 Core section 4.1.4.3 requires a service provider to reject a response whose InResponseTo does not match a request it made. The underlying esaml library checks status, signature, recipient, audience, and staleness, but likewise never inspects InResponseTo, so nothing else closes the gap. Exploitation requires a validly signed assertion from the trusted IdP, which an attacker can obtain for their own account, and a RelayState matching the victim's session; the assertion signature itself remains intact, so this is not a signature-forgery issue. This issue affects samly: from 0.3.0 onward.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS