Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2026-11800 — Python PoC for CVE-2026-11800: forges HS256 JWT assertions signed with a Keycloak IdP public key to bypass authentication and impersonate federated users. | Kitploit
ツール/GitHubGitHub/sickwell/cve-2026-11800
Vulnerability AnalysisExploitationWeb Application ExploitationCryptographyPenetration TestingIdentity & Access Management (IAM)Authentication
GitHubsickwell/cve-2026-11800

CVE-2026-11800

Python PoC for CVE-2026-11800: forges HS256 JWT assertions signed with a Keycloak IdP public key to bypass authentication and impersonate federated users.

リポジトリを見る
10日前未レビュー
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

CVE-2026-11800 — Keycloak JWT Authorization Grant Algorithm Confusion (Auth Bypass)

Unauthenticated authentication bypass in Keycloak, fixed in 26.6.4 (GHSA-j97h-3f8r-mrjr, CWE-347).

The bug

A Keycloak realm with an OIDC identity provider configured with a hardcoded public key (useJwksUrl=false) and the JWT authorization grant enabled accepted symmetric HS256 client assertions whose HMAC secret is the IdP's public key bytes (raw base64 DER — exactly the publicKeySignatureVerifier value). Since the "secret" is public material, an attacker holding only a valid confidential client's credentials can forge an assertion for any federated user identity and receive a valid access token — no user credentials, no private key, no IdP access.

Two code factors, both fixed in 26.6.4:

  • validateSignatureAlgorithm() did not reject symmetric algorithms when the signature verifier was a hardcoded public key;
  • HardcodedPublicKeyLoader contained an HMAC branch (Base64Url.decode(publicKeySignatureVerifier) used directly as the shared secret).

What the PoC does

exploit.py — pure Python 3 stdlib, zero dependencies:

  1. discovery: GET /realms/<realm>/.well-known/openid-configuration
  2. resolve the IdP public key → raw DER bytes
  3. forge an HS256 assertion (iss = IdP issuer, sub = federated user id) signed with the public key bytes as HMAC secret
  4. POST token_endpoint with grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer → HTTP 200, access token for the impersonated user
  5. negative control: the same request signed with a random secret → HTTP 400 invalid_grant / Invalid signature (proves the server verifies the HMAC against the public key bytes)
  6. impersonation proof: userinfo called with the forged token → HTTP 200, body of the impersonated user

Verified end-to-end against quay.io/keycloak/keycloak:26.6.3.

Requirements on the target

  • Keycloak ≤ 26.6.3
  • realm with an OIDC IdP: publicKeySignatureVerifier set, useJwksUrl=false, jwtAuthorizationGrantEnabled=true, jwtAuthorizationGrantAssertionSignatureAlg not pinned
  • a confidential client with oauth2.jwt.authorization.grant.enabled=true and the IdP allow-listed (client_id/client_secret are attacker inputs)
  • the IdP's public key (public material — its JWKS or website), the IdP issuer, and the sub of a federated user

Usage

Insert the target host/port (and deployment values) into the CONFIG block of exploit.py, then:

python3 exploit.py http://target:8080

Supply the IdP public key via one of:

  • IDP_PUBKEY_B64 — raw base64 DER (the exact publicKeySignatureVerifier value) or a PEM block
  • IDP_PUBKEY_FILE — path to a PEM file
  • KC_ADMIN_USER / KC_ADMIN_PASS env vars — key fetched from the Keycloak Admin REST API (lab mode)

Fix

  • upgrade to Keycloak 26.6.4+ (rejects the forged assertion with Invalid signature algorithm)
  • pin jwtAuthorizationGrantAssertionSignatureAlg to an asymmetric algorithm
  • prefer JWKS (useJwksUrl=true) over hardcoded keys

References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-11800
  • GHSA-j97h-3f8r-mrjr: https://github.com/advisories/GHSA-j97h-3f8r-mrjr
  • Upstream fix: keycloak/keycloak PR #50374 — Remove support for symmetric algorithms in JWT public key validators

Legal

For authorized security testing only.

ツールをダウンロード

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 究極のOSINTツールキット:調査グラフ、信頼度スコアリング、エイリアスファミリー、マップ、タイムライン、レポート。49個のモジュール、400以上のサイト、APIキー不要。

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    602
  • 3

    looking-glass

    anonghosty/looking-glass

    ShadowserverレポートをMongoDBに取り込み、インタラクティブなマップ、分析、調査結果、アドバイザリ、エグゼクティブダッシュボードとして再生するCSIRTプラットフォーム。

    392
  • 4

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    319
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AIネイティブなサイバーセキュリティのためのアクションシステム。意図がガバナンスされた実行に変わり、証拠が運用記憶となり、すべての操作が次の操作を改善する。

    293
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    ウェブ全体で7,700以上のソーシャルメディア上の身元を発見・マッピングするAI搭載OSINTエンジン

    253

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →