Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

الخلاصاتاتصالالخصوصية© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
cortex9-zitadel-saml-idp-intent-mismatch-model — Offline educational model of CVE-2026-109372 (ZITADEL SAML IdP intent mismatch) | Kitploit
أدوات/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)

عرض المستودع
منذ 14 أياملم تتم المراجعة بعد

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 مجموعة أدوات OSINT المثالية: رسم بياني للتحقيق، وتقييم الثقة، وعائلات الأسماء المستعارة، وخريطة، وخط زمني، وتقارير. 49 وحدة، وأكثر من 400 موقع، دون الحاجة إلى مفاتيح API.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    806
  • 3

    wifit3

    derv82/wifit3

    Wifite لكن عبر USB فقط ومتعدد المنصات.

    635
  • 4

    looking-glass

    anonghosty/looking-glass

    منصة CSIRT تستقبل تقارير Shadowserver في MongoDB وتعيد عرضها كخرائط تفاعلية وتحليلات ونتائج وإرشادات ولوحات معلومات تنفيذية.

    454
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer هي منصة مفتوحة المصدر لإدارة الامتيازات (PAM) توفر لفرق DevOps وتكنولوجيا المعلومات وصولًا آمنًا عند الطلب إلى نقاط نهاية SSH وRDP وKubernetes وقواعد البيانات وRemoteApp عبر متصفح الويب.

    434
  • 6

    SafeLine

    chaitin/safeline

    WAF مستضافة ذاتيًا ووكيل عكسي يقوم بتصفية حركة المرور HTTP الضارة، ويمنع هجمات SQL injection و XSS وهجمات البوت، مع تحديد معدل الطلبات وتشفير HTML/JS الديناميكي.

    384

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

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.

تنزيل الأداة