CVE-2020-15129
Open redirect in Traefik
Record summary
CVE-2020-15129 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
9| Product | Source | Version range | Status |
|---|---|---|---|
traefikBrowse containous / traefik | CVE List | < 1.7.26 | affected |
| >= 2.0.0, < 2.2.8 | affected | ||
github.com/containous/traefikBrowse Go / github.com/containous/traefik | GitHub Advisory | 1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26 | affected |
github.com/containous/traefik/apiBrowse Go / github.com/containous/traefik/api | GitHub Advisory | 1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26 | affected |
github.com/containous/traefik/v2Browse Go / github.com/containous/traefik/v2 | GitHub Advisory | Before 2.2.8 · Fixed in 2.2.8 | affected |
| 2.3.0-rc1 to < 2.3.0-rc3 · Fixed in 2.3.0-rc3 | affected | ||
github.com/containous/traefik/v2/pkg/apiBrowse Go / github.com/containous/traefik/v2/pkg/api | GitHub Advisory | Before 2.2.8 · Fixed in 2.2.8 | affected |
| 2.3.0-rc1 to < 2.3.0-rc3 · Fixed in 2.3.0-rc3 | affected | ||
github.com/traefik/traefikBrowse Go / github.com/traefik/traefik | GitHub Advisory | 1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26 | affected |
github.com/traefik/traefik/apiBrowse Go / github.com/traefik/traefik/api | GitHub Advisory | 1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26 | affected |
github.com/traefik/traefik/v2Browse Go / github.com/traefik/traefik/v2 | GitHub Advisory | Before 2.3.0-rc6 · Fixed in 2.3.0-rc6 | affected |
| 2.3.0-rc1 to < 2.3.0-rc6 · Fixed in 2.3.0-rc6 | affected | ||
github.com/traefik/traefik/v2/pkg/apiBrowse Go / github.com/traefik/traefik/v2/pkg/api | GitHub Advisory | Before 2.3.0-rc6 · Fixed in 2.3.0-rc6 | affected |
| 2.3.0-rc1 to < 2.3.0-rc6 · Fixed in 2.3.0-rc6 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMTraefik - Open RedirectCVSS 4.7
Traefik before 1.7.26, 2.2.8, and 2.3.0-rc3 contains an open redirect vulnerability in the X-Forwarded-Prefix header. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
Impact
An attacker can manipulate the redirect URL and trick users into visiting malicious websites.
Remediation
Apply the vendor-provided patch or upgrade to a non-vulnerable version of Traefik.
Source: ProjectDiscovery