Descrizione

Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high severity authentication bypass vulnerability in Traefik's ForwardAuth and snippet-based authentication middleware. Traefik's forwarded-header sanitization logic targets only canonical header names (e.g., X-Forwarded-Proto) and does not strip or normalize alias variants that use underscores instead of dashes (e.g., X_Forwarded_Proto). These unsanitized alias headers are forwarded intact to the authentication backend. When the backend normalizes underscore and dash header forms equivalently, an attacker can inject spoofed trust context — such as a trusted scheme or host — through the alias headers and bypass authentication on protected routes without valid credentials. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 10.0.

Versioni da aggiornare

  • Traefik Traefik: vulnerabili le versioni precedenti alla 2.11.43 → aggiornare alla 2.11.43 o successiva.
  • Traefik Traefik: vulnerabili le versioni dalla 3.0.0 precedenti alla 3.6.14 → aggiornare alla 3.6.14 o successiva.
  • Traefik Traefik: vulnerabile la versione 3.7.0 ea1 → installare l'ultima release supportata dal vendor.
  • Traefik Traefik: vulnerabile la versione 3.7.0 ea2 → installare l'ultima release supportata dal vendor.
  • Traefik Traefik: vulnerabile la versione 3.7.0 ea3 → installare l'ultima release supportata dal vendor.
  • Traefik Traefik: vulnerabile la versione 3.7.0 rc1 → installare l'ultima release supportata dal vendor.

Patch e advisory

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Non esporre l'interfaccia di gestione su Internet: consentire l'accesso solo da reti fidate e verificare la presenza di account, sessioni o chiavi non autorizzate.

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
Traefik Traefik < 2.11.43 2.11.43
Traefik Traefik ≥ 3.0.0 < 3.6.14 3.6.14
Traefik Traefik 3.7.0 ea1 —
Traefik Traefik 3.7.0 ea2 —
Traefik Traefik 3.7.0 ea3 —
Traefik Traefik 3.7.0 rc1 —

Riferimenti