Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Einreichen
ToolsExploitsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

FeedsKontaktDatenschutz© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
cortex9-zitadel-saml-idp-intent-mismatch-model — Offline educational model of CVE-2026-109372 (ZITADEL SAML IdP intent mismatch) | Kitploit
Tools/GitHubGitHub/federiconbaez/cortex9-zitadel-saml-idp-intent-mismatch-model
Vulnerability AnalysisCode AnalysisWeb SecurityAuthenticationPapers & ResearchLearning & EducationLabs & Practice
GitHubfedericonbaez/cortex9-zitadel-saml-idp-intent-mismatch-model

cortex9-zitadel-saml-idp-intent-mismatch-model

Offline educational model of CVE-2026-109372 (ZITADEL SAML IdP intent mismatch)

Repository anzeigen
vor 14 TagenNoch nicht geprüft

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 Das ultimative OSINT-Toolkit: Untersuchungsgraph, Konfidenzbewertung, Alias-Familien, Karte, Zeitleiste und Berichte. 49 Module, 400+ Websites, keine API-Schlüssel erforderlich.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    806
  • 3

    wifit3

    derv82/wifit3

    Wifite, aber nur USB & plattformübergreifend.

    635
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT-Plattform, die Shadowserver-Berichte in MongoDB einliest und sie als interaktive Karten, Analysen, Findings, Advisories und Executive-Dashboards wiedergibt.

    454
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer ist eine Open-Source-Plattform für Privileged Access Management (PAM), die DevOps- und IT-Teams bedarfsgesteuerten und sicheren Zugriff auf SSH-, RDP-, Kubernetes-, Datenbank- und RemoteApp-Endpunkte über einen Webbrowser bietet.

    434
  • 6

    SafeLine

    chaitin/safeline

    Selbst gehosteter WAF und Reverse Proxy, der bösartigen HTTP-Verkehr filtert, SQL-Injection, XSS und Bot-Angriffe blockiert, mit Ratenbegrenzung und dynamischer HTML/JS-Verschlüsselung.

    384

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →
Teilen
Inhalt in der angeforderten Sprache nicht verfügbar. Englische Version wird angezeigt.

cortex9-zitadel-saml-idp-intent-mismatch-model

Offline model of CVE-2026-109372 (GHSA-65fv-6pff-4q47, repo advisory GHSA-x4c7-fpcx-w9q6): SAML identity-provider confusion in ZITADEL's identity-provider intent callbacks. The ACS handler verified the SAML response with the provider named in the URL (/idps/<id>/saml/acs) but resolved the user under the IdP of the login intent found through the RelayState, without comparing the two. Fixed in 4.19.2 by commit 450c0560bc83 (pre = before, post = after), which adds checkSAMLIntentIDP to ACS and SLO.

Educational, deterministic, Go standard library only (plus a Python 3 stdlib cross-check). No ZITADEL code is imported or run, no XML is parsed, nothing is signed and no socket is opened. Keys and IdPs are symbolic strings.

Spanish: README.es.md. Exercises: PRACTICE.md.

What is modelled

diff:N is line N of the saved fix diff (see SOURCES.md). A * in the diff_lines column means the step is reconstructed (from diff comments, the integration test or the advisory), not code shown in the diff.

StepACSSLO
State from RelayState (intent / logout state)before diff:9 (5-7*)before diff:23 (20-22*)
Provider from URL (data.IDPID)before diff:9 (5-7*; used at diff:17)getProvider, diff:32
Gate (post only) checkSAMLIntentIDP(data.IDPID, state.IDPID), byte-exact != (diff:42-47)diff:12-15, after the provider lookupdiff:27-30, before getProvider
Signature with the URL IdP's key, Destination/Audience = URL IdP's SPsaml2.NewSession, diff:17* (test comments diff:146-148)after diff:32*
InResponseTo == intent.RequestIDdiff:17 (intent.RequestID), diff:183-185, 214-216not modelled
User resolved under the state's IdPdiff:9-11; checkExternalUser diff:49*—

Fixed instance: idp-a (attacker), idp-b (victim, linked to victim-external-id as in diff:143-151), idp-c (carol-ext). A response whose signature was verified with IdP X but whose user is resolved under IdP Y ≠ X is labelled CONFUSED_SESSION / CONFUSED_NO_USER / CONFUSED_LOGOUT.

Differential evidence (results/cases.tsv)

Caseprepost
p01 URL idp-a, intent idp-b, signed by A for A's SP, InResponseTo copiedCONFUSED_SESSION as user-victimREJECT_IDP_MISMATCH (diff:12-15)
p02 same with one shared key (integration test, diff:146-148)CONFUSED_SESSIONREJECT_IDP_MISMATCH
p05 SLO, URL A, logout state BCONFUSED_LOGOUTREJECT_IDP_MISMATCH (diff:27-30)
d01-d04 unit-test table (diff:73-112)—match/both-empty pass the gate, mismatch/one-empty fail
a03 confusion without copying InResponseToREJECT_REQUEST_IDREJECT_IDP_MISMATCH
a02 SLO URL IDP-B, state idp-bREJECT_PROVIDERREJECT_IDP_MISMATCH (gate before diff:32)
a06 shared key, response built for B's SPSESSIONSESSION (outside the fix)
n01-n07 legitimate / plainly invalid callbacksunchangedunchanged

Sweep (results/sweep.csv, 5,400 cases): post never yields a confused outcome; pre is confused in 324 cases, all with URL IdP ≠ state IdP; for every case with equal IdPs the fix changes nothing; post rejects 2,700 cases with REJECT_IDP_MISMATCH. The counts are derived by hand in tests/model_test.go.

Model edges, not findings: both empty IdP IDs pass the gate (as the upstream unit test requires, diff:93-102); the model then rejects at provider lookup. If two IdPs share a signing key (a06), a response built for the right SP passes before and after the fix; that is key reuse, not what this fix addresses.

Run

sh scripts/build.sh test                                    # any skip = failure
python3 scripts/derive_expected.py | diff - fixtures/expected.tsv
python3 scripts/derive_expected.py sweep | diff - results/sweep.csv
sh scripts/build.sh results /tmp/r && diff -r results /tmp/r
go run ./src/cmd/samlmodel case pre acs idp-a idp-b idp-a idp-a intent victim-external-id

fixtures/cases.tsv holds hand labels; scripts/derive_expected.py re-implements the checks in Python without reading the Go model; the tests compare all three.

See LIMITATIONS.md and SOURCES.md. License: Apache-2.0.

Tool herunterladen