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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| containous | traefik | < 1.7.26, >= 2.0.0, < 2.2.8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | traefik | 2.2.8-r0 | — |
| Alpine v3.23 | traefik | 2.2.8-r0 | — |
| Alpine v3.22 | traefik | 2.2.8-r0 | — |
| Alpine v3.21 | traefik | 2.2.8-r0 | — |
| Alpine v3.20 | traefik | 2.2.8-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | traefik | 2.2.8-r0 | — |
| Alpine v3.18 | traefik | 2.2.8-r0 | — |
| Alpine v3.17 | traefik | 2.2.8-r0 | — |
| Alpine v3.16 | traefik | 2.2.8-r0 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Traefik - Open Redirect http/cves/2020/CVE-2020-15129.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
References
- https://github.com/containous/traefik/security/advisories/GHSA-6qq8-5wq3-86rp
- https://github.com/containous/traefik/releases/tag/v1.7.26
- https://github.com/containous/traefik/releases/tag/v2.2.8
- https://github.com/containous/traefik/releases/tag/v2.3.0-rc3
- https://github.com/containous/traefik/pull/7109
- https://github.com/containous/traefik/commit/e63db782c11c7b8bfce30be4c902e7ef8f9f33d2