🛡️ CVE-2020-15129 — traefik
Description
Traefik vulnerable to Open Redirect via handling of X-Forwarded-Prefix header
Summary
There exists a potential open redirect vulnerability in Traefik's handling of the X-Forwarded-Prefix header. 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.
Details
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.
e.g.
```
$ curl --header 'Host:traefik.localhost' --header 'X-Forwarded-Prefix:https://example.org' 'http://localhost:8081'
<a href="https://example.org/dashboard/">Found</a>.`
```
Impact
A successful exploitation of an open redirect can be used to entice victims to disclose sensitive information.
Workarounds
By using the headers middleware, the request header X-Forwarded-Prefix value can be overridden by the value . (dot)
- https://docs.traefik.io/v2.2/middlewares/headers/#customrequestheaders
- https://docs.traefik.io/v1.7/basics/#custom-headers
For more information
If you have any questions or comments about this advisory, open an issue in [Traefik](https://github.com/containous/traefik/issues).
Credit
This issue was found by the GitHub Application Security Team and reported on behalf of the GHAS by the GitHub Security Lab Team.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality none, integrity high, availability none.
Weakness class
CVE-2020-15129 is classified as CWE-601: Open Redirect. A redirect target is taken from user input, so a trusted link can send the visitor to an attacker's site.
Affected software
CVE-2020-15129 is recorded against 8 packages.
- github.com/containous/traefik
- github.com/containous/traefik/api
- github.com/containous/traefik/v2
- github.com/containous/traefik/v2/pkg/api
- github.com/traefik/traefik
- github.com/traefik/traefik/api
- github.com/traefik/traefik/v2
- github.com/traefik/traefik/v2/pkg/api
Timeline and source
Published on 11 February 2022 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| github.com/containous/traefik | — | — |
| github.com/containous/traefik/api | — | — |
| github.com/containous/traefik/v2 | — | — |
| github.com/containous/traefik/v2/pkg/api | — | — |
| github.com/traefik/traefik | — | — |
| github.com/traefik/traefik/api | — | — |
| github.com/traefik/traefik/v2 | — | — |
| github.com/traefik/traefik/v2/pkg/api | — | — |
References
Similar Threats
- High CVE-2019-20894
- Unknown CVE-2020-9321
More CVE 2020 advisories
Browse all of CVE 2020 in the advisory index.
Free Vulnerability Check
Is your site affected by CVE-2020-15129?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2020-15129 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.