llamaCVEVulnerability Intelligence
/
traefik

CVE-2024-45410

HTTP client can remove the X-Forwarded headers in Traefik

UnclearSin parche publicado
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
7.5NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición790 dDesde la divulgación, 19 sept 2024, 5:51 p. m.
Detección774 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche v3.1.3 +1
Monitoreo
Detectada
Verificada
16 sept 24
19 sept 24
20 sept 24
3 nov 26
18 nov 26
19 nov 26
16 sept 24
3 abr 25
18 oct 25
5 may 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche v3.1.3 github.com/traefik/traefik/v3 · -3 d desde divulgación
Remediación Parche v2.11.9 github.com/traefik/traefik/v2 · -3 d desde divulgación
Divulgación Publicada CVE-2024-45410 divulgada · CVSS 9.8 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Traefik is a golang, Cloud Native Application Proxy. When a HTTP request is processed by Traefik, certain HTTP headers such as X-Forwarded-Host or X-Forwarded-Port are added by Traefik before the request is routed to the application. For a HTTP client, it should not be possible to remove or modify these headers. Since the application trusts the value of these headers, security implications might arise, if they can be modified. For HTTP/1.1, however, it was found that some of theses custom headers can indeed be removed and in certain cases manipulated. The attack relies on the HTTP/1.1 behavior, that headers can be defined as hop-by-hop via the HTTP Connection header. This issue has been addressed in release versions 2.11.9 and 3.1.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affects Traefik versions before 2.11.9 and from 3.0.0 to before 3.1.3, when clients send HTTP/1.1 requests. Fixed in 2.11.9 and 3.1.3.

¿Qué significa?A client can remove the X-Forwarded headers that Traefik adds, and in some cases add or modify them. Backend applications that trust these headers can then suffer privilege escalation or access control bypass.
¿Quién está afectado?Traefik versions before 2.11.9 and versions 3.0.0 through 3.1.2 are in scope. The issue involves HTTP/1.1 requests, and the X-Forwarded-Tls-Client-Cert header case additionally requires client certificate authentication to be enabled in the Traefik setup. To check a version, run traefik version on the installed binary.
¿Qué hacer?Upgrade to Traefik 2.11.9 or 3.1.3, the fixed versions for this vulnerability.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Client sends HTTP/1.1 requests“For HTTP/1.1, however, it was found that some of theses custom headers can indeed be removed”
02
For X-Forwarded-Tls-Client-Cert headers, client certificate authentication must be enabled“client certificate authentication would need to be enabled in the Traefik setup”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
traefik · github.com/traefik/traefik/v2 · github.com/traefik/traefik< 2.11.9
github.com/traefik/traefik/v3≥ 3.0.0-beta3 < 3.1.3
traefik≥ 3.0.0 < 3.1.3
v1.7.34
2.11.9
v2.11.63
3.0.0-beta3
3.0.0
3.1.3
v3.7.19
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/traefik/traefik/v3
Corregida v3.1.3 -3 d v3.7.19 no afectada
gogithub.com/traefik/traefik/v2
Corregida v2.11.9 -3 d v2.11.63 no afectada
gogithub.com/traefik/traefik
Sin parche — — v1.7.34 afectada
Versiones corregidas2.11.9v2.11.93.1.3v3.1.3
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
jphetphoumy/traefik-CVE-2024-45410-poc
1
Ver los 1 repositorios de GitHub
jphetphoumy/traefik-CVE-2024-45410-poc

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/traefik/traefik/security/advisories/GHSA-62c8-mh53-4cqv
Exploithttps://github.com/jphetphoumy/traefik-CVE-2024-45410-poc
Otrahttps://github.com/traefik/traefik/releases/tag/v2.11.9
Otrahttps://github.com/traefik/traefik/releases/tag/v3.1.3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.