CVE-2020-15129

URL Redirection to Untrusted Site ('Open Redirect') in go/github.com/containous/traefik/v2

Identifiers

GHSA-6qq8-5wq3-86rp, CVE-2020-15129

Package Slug

go/github.com/containous/traefik/v2

Vulnerability

URL Redirection to Untrusted Site ('Open Redirect')

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 does not 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 Versions

All versions before 2.2.8, all versions starting from 2.3.0-rc1 before 2.3.0-rc3

Solution

Upgrade to versions 2.2.8, 2.3.0-rc3 or above. Note: 2.3.0-rc3 may be an unstable version. Use caution.

Last Modified

2022-08-05

source