CVE-2020-15129
Description
In Traefik before versions 1.7.26, 2.2.8, and 2.3.0-rc3, there exists a potential open redirect vulnerability in Traefik's handling of the "X-Forwarded-Prefix" header. The Traefik API dashboard component doesn't validate that the value of the header "X-Forwarded-Prefix" is a site relative path and will redirect to any header provided URI. Successful exploitation of an open redirect can be used to entice victims to disclose sensitive information. Active Exploitation of this issue is unlikely as it would require active header injection, however the Traefik team addressed this issue nonetheless to prevent abuse in e.g. cache poisoning scenarios.
How to fix
- traefik traefik1.7.26, 2.2.8 or later
- github.com/traefik/traefik1.7.26 or later
- github.com/traefik/traefik/v22.3.0-rc6 or later
- github.com/containous/traefik1.7.26 or later
- github.com/containous/traefik/v22.2.8, 2.3.0-rc3 or later
- github.com/traefik/traefik/api1.7.26 or later
- github.com/traefik/traefik/v2/pkg/api2.3.0-rc6 or later
- github.com/containous/traefik/api1.7.26 or later
- github.com/containous/traefik/v2/pkg/api2.2.8, 2.3.0-rc3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| traefik traefik | v < 1.7.26, 2.2.0 ≤ v < 2.2.8, 2.3.0 | 1.7.26, 2.2.8 |
| github.com/traefik/traefikGo | 1.5.0-rc5 ≤ v < 1.7.26 | 1.7.26 |
| github.com/traefik/traefik/v2Go | v < 2.3.0-rc6, 2.3.0-rc1 ≤ v < 2.3.0-rc6 | 2.3.0-rc6 |
| github.com/containous/traefikGo | 1.5.0-rc5 ≤ v < 1.7.26 | 1.7.26 |
| github.com/containous/traefik/v2Go | v < 2.2.8, 2.3.0-rc1 ≤ v < 2.3.0-rc3 | 2.2.8, 2.3.0-rc3 |
| github.com/traefik/traefik/apiGo | 1.5.0-rc5 ≤ v < 1.7.26 | 1.7.26 |
| github.com/traefik/traefik/v2/pkg/apiGo | v < 2.3.0-rc6, 2.3.0-rc1 ≤ v < 2.3.0-rc6 | 2.3.0-rc6 |
| github.com/containous/traefik/apiGo | 1.5.0-rc5 ≤ v < 1.7.26 | 1.7.26 |
| github.com/containous/traefik/v2/pkg/apiGo | v < 2.2.8, 2.3.0-rc1 ≤ v < 2.3.0-rc3 | 2.2.8, 2.3.0-rc3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.