CVE-2024-45410: critical vulnerability in traefik
HTTP client can remove the X-Forwarded headers in Traefik
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. It has a public proof of concept.
Traefik adds security headers (like X-Forwarded-Host) to requests before sending them to applications, but attackers can remove these headers using HTTP/1.1 tricks, potentially fooling the application into trusting malicious information.
HTTP/1.1 clients can exploit the Connection header mechanism to mark X-Forwarded-* headers as hop-by-hop, causing Traefik to strip them from requests before reaching the backend application. This undermines header-based security assumptions and can lead to host/port spoofing and authentication bypasses if the application relies on these headers for routing, validation, or access control decisions.
In the same product, most dangerous first.