Traefikの認証連携で別ユーザーのIDを取得される脆弱性 攻撃も確認
Summary
認証されていない攻撃者が、ほかのユーザーの認証済み接続を再利用し、そのユーザーとしてバックエンドにアクセスできるおそれがあります。影響するのはTraefik 3.0.0以降3.7.16未満で、3.7.16以降に修正版が公開されています。Traefikを利用している場合は、速やかに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
認証されていない攻撃者が、ほかのユーザーの認証済み接続を再利用し、そのユーザーとしてバックエンドにアクセスできるおそれがあります。影響するのはTraefik 3.0.0以降3.7.16未満で、3.7.16以降に修正版が公開されています。Traefikを利用している場合は、速やかに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| traefiktraefik |
≥ 3.0.0, < 3.7.16→ 3.7.16 |
3.7.16 |
| Gogithub.com/traefik/traefik/v2 |
< 2.11.60→ 2.11.60 |
2.11.60 |
| Gogithub.com/traefik/traefik/v3 |
< 3.7.16→ 3.7.16 |
3.7.16 |
Original description The description as published by the source.
Summary
There is a high severity authentication vulnerability in Traefik's ForwardAuth middleware when the authentication server uses a connection-bound scheme such as NTLM or SPNEGO/Kerberos "Negotiate" (for example IIS Windows Authentication). ForwardAuth sends its authentication subrequests through a connection pool shared by every client of the middleware, so an auth-server connection already authenticated by one user can be reused for the subrequest of an unrelated client. An unauthenticated client on a separate frontend connection can then receive a successful authentication response carrying the victim's identity, which Traefik forwards to the backend through authResponseHeaders, and access the backend as that user. In Traefik v3.7 the same applies to the external authentication requests issued for the Kubernetes Ingress NGINX provider's auth-url annotation.
This is a distinct issue from GHSA-53qr-784g-cj35, GHSA-qqjf-53cj-pwvv, GHSA-cw35-4q88-3rmp and GHSA-qm9f-w54v-q2qh, which isolated connection-bound authentication on the backend proxy paths only; the fix applies the same per-frontend-connection isolation to the authentication server. Traefik v3.0 through v3.6 are end-of-life and are also affected; they will not receive a fix on their own line, and users on those versions must upgrade to v2.11.60 or v3.7.16.
Patches
- https://github.com/traefik/traefik/releases/tag/v2.11.60
- https://github.com/traefik/traefik/releases/tag/v3.7.16
For more informa…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- REDHAT Red Hat
- web github.com
- web vulncheck.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com