CVE-2024-45410CWE-345CWE-348

HTTP client can remove the X-Forwarded headers in Traefik

Critical · published September 19, 2024

CVSS v3.1
9.8
EPSS
2%
Percentile
74.3
In the wild
Unconfirmed
What it is

🚨 A crafty HTTP header manipulation vulnerability lurks in Traefik! An attacker can sneakily modify crucial headers that the application trusts, leading to potentially disastrous consequences. 🔥 Think of Traefik as a traffic cop directing vehicles. If the traffic cop lets drivers change their license plates, anyone could pretend to be someone else on the road — not a safe situation! This could allow attackers to manipulate the routing of requests or impersonate other users, leading to unauthorized access or data exposure. If exploited, this vulnerability could compromise the entire application's integrity and confidentiality!

Put simply

Think of Traefik as a traffic cop directing vehicles. If the traffic cop lets drivers change their license plates, anyone could pretend to be someone else on the road — not a safe situation! Certain HTTP headers like X-Forwarded-Host and X-Forwarded-Port can be altered or removed in HTTP/1.1 due to how Traefik processes them. This allows unauthorized users to send misleading requests to the application, undermining trust in header values.

What to do

This could allow attackers to manipulate the routing of requests or impersonate other users, leading to unauthorized access or data exposure. If exploited, this vulnerability could compromise the entire application's integrity and confidentiality! Upgrade Traefik to versions 2.11.9 or 3.1.3 immediately to patch this vulnerability. Ensure that your configuration does not trust headers that can be manipulated by clients. Regularly audit your headers and security settings to strengthen overall defenses. You've got this! Stay proactive, follow these steps, and you'll keep your application safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01513 · 74.3th percentile
Weaknesses
CWE-345 · Insufficient Verification of Data Authenticity; CWE-348 · Use of Less Trusted Source
Published
2024-09-19T22:51Z
EPSS history
Timeline
  • 19 SEP 22:51Z
    HTTP client can remove the X-Forwarded headers in Traefik
    cvelistv5