Wysoka

SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass

  • Ujawniono: 02.07.2026
  • Aktualizacja: 11.10.2026 10:22

Summary

SimpleSAMLphp's HTTP-Artifact receive path can treat an unsigned embedded SAML Response as cryptographically valid for the wrong IdP.

In the HTTPArtifact::receive() flow, the SOAP ArtifactResponse receives a TLS-based validator from SOAPClient::addSSLValidator(). The embedded SAML Response then receives a validator that delegates signature validation to that outer ArtifactResponse. Later, the SP validates the embedded Response against metadata selected from the embedded response issuer, not necessarily the artifact issuer.

The critical issue is that SOAPClient::validateSSL() returns normally when the TLS public key does not match the key currently being validated. SAML2\Message::validate() treats any validator call that does not throw an exception as successful. As a result, an ArtifactResponse obtained from one IdP can validate an unsigned embedded SAML Response that claims to be issued by a different IdP.

In a multi-IdP/federation deployment where a malicious or lower-trust IdP can issue an HTTP-Artifact response to an SP, this can allow the attacker to authenticate to the SP as arbitrary users from a higher-trust victim IdP.

Impact

A malicious or lower-trust IdP in the same SP/federation trust set can authenticate to the SP as users from another IdP when HTTP-Artifact is used. The attacker can choose assertion attributes, NameID, and session data in the forged unsigned assertion.

This is an authentication bypass and identity-provider impersonation issue. In realistic federations, the security boundary between IdPs matters: a compromised or low-assurance IdP should not be able to mint identities for a high-assurance IdP.

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Paczka Composer simplesamlphp/saml2 >= 6.0.0, < 6.2.1, >= 5.0.0, < 5.0.6, >= 4.20.0, < 4.20.2, < 4.19.3 6.2.1, 5.0.6, 4.20.2, 4.19.3
Paczka Composer simplesamlphp/saml2-legacy >= 4.20.0, < 4.20.2, < 4.19.3 4.20.2, 4.19.3

Odnośniki

Ocena CVSS 8.7/10
Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Słabość (CWE)
CWE-295
Platforma
Composer
Paczka
simplesamlphp/saml2, simplesamlphp/saml2-legacy
Ujawniono
02.07.2026
Aktualizacja
11.10.2026 10:22

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-6929-8p9f-26jx - CC BY 4.0

Historia podatności: simplesamlphp/saml2

Wszystkie opisane podatności tej paczki (Paczka Composer), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkie (9) w archiwum
Wszystkich wpisów
9
Pierwsza → ostatnia
05.2022 07.2026
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Krytyczna 1
  • Wysoka 7
  • Średnia 1

Ujawnienia w latach

  1. 2022: 4
  2. 2023: 1
  3. 2024: 1
  4. 2025: 1
  5. 2026: 2
Istotność:
  1. Wysoka · 7.5 CVE-2026-49289 >= 4.20.0, < 4.20.3, < 4.19.3 4.20.3, 4.19.3
  2. SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass ten wpis
    Wysoka · 8.7 CVE-2026-49283 >= 6.0.0, < 6.2.1, >= 5.0.0, < 5.0.6, >= 4.20.0, < 4.20.2, < 4.19.3 6.2.1, 5.0.6, 4.20.2, 4.19.3
  3. Wysoka · 8.6 CVE-2025-27773 < 4.17.0, >= 5.0.0-alpha.1, < 5.0.0-alpha.20 4.17.0, 5.0.0-alpha.20
  4. Wysoka · 7.5 CVE-2023-49087 >= 5.0.0-alpha.12, < 5.0.0-alpha.13 5.0.0-alpha.13
  5. Krytyczna · 9.1 CVE-2016-9814 >= 1.10, < 1.10.3, < 1.8.1, >= 1.9.0, < 1.9.1, >= 2.0, < 2.3.3 1.10.3, 1.8.1, 1.9.1, 2.3.3
  6. Wysoka · 8.1 CVE-2018-7711 < 1.10.6, >= 2.0, < 2.3.8, >= 3.0, < 3.1.4 1.10.6, 2.3.8, 3.1.4
  7. Wysoka · 7.5 CVE-2018-6519 < 1.10.4, >= 2.0, < 2.3.5, >= 3.0, < 3.1.1 1.10.4, 2.3.5, 3.1.1
  8. Wysoka · 7.5 CVE-2018-7644 < 1.10.5, >= 2.0, < 2.3.7, >= 3.0, < 3.1.3 1.10.5, 2.3.7, 3.1.3

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.