Open Redirect Affecting github.com/traefik/traefik/v2/api package, versions <1.7.26 >2.2.0 <2.2.8 >2.3.0-rc0 <2.3.0-rc3


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.56% (78th percentile)
Expand this section
NVD
4.7 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMTRAEFIKTRAEFIKV2API-1083966
  • published 31 Jul 2020
  • disclosed 31 Jul 2020
  • credit Unknown

How to fix?

Upgrade github.com/traefik/traefik/v2/api to version 1.7.26, 2.2.8, 2.3.0-rc3 or higher.

Overview

github.com/traefik/traefik/v2/api is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy.

Affected versions of this package are vulnerable to Open Redirect. 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.