CVE-2020-15129

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

Identifiers

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

Package Slug

go/github.com/traefik/traefik/v2/pkg/api

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 version 2.3.0-rc6 or above. Note: 2.3.0-rc6 may be an unstable version. Use caution.

Last Modified

2022-08-05

source