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.

Description source: CVE List

Exploitation context

Available material

Nuclei templates
1

Affected products and versions

9
ProductSourceVersion rangeStatus
CVE List< 1.7.26affected
>= 2.0.0, < 2.2.8affected

github.com/containous/traefik

Browse Go / github.com/containous/traefik
GitHub Advisory1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26affected

github.com/containous/traefik/api

Browse Go / github.com/containous/traefik/api
GitHub Advisory1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26affected

github.com/containous/traefik/v2

Browse Go / github.com/containous/traefik/v2
GitHub AdvisoryBefore 2.2.8 · Fixed in 2.2.8affected
2.3.0-rc1 to < 2.3.0-rc3 · Fixed in 2.3.0-rc3affected

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

Browse Go / github.com/containous/traefik/v2/pkg/api
GitHub AdvisoryBefore 2.2.8 · Fixed in 2.2.8affected
2.3.0-rc1 to < 2.3.0-rc3 · Fixed in 2.3.0-rc3affected

github.com/traefik/traefik

Browse Go / github.com/traefik/traefik
GitHub Advisory1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26affected

github.com/traefik/traefik/api

Browse Go / github.com/traefik/traefik/api
GitHub Advisory1.5.0-rc5 to < 1.7.26 · Fixed in 1.7.26affected

github.com/traefik/traefik/v2

Browse Go / github.com/traefik/traefik/v2
GitHub AdvisoryBefore 2.3.0-rc6 · Fixed in 2.3.0-rc6affected
2.3.0-rc1 to < 2.3.0-rc6 · Fixed in 2.3.0-rc6affected

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

Browse Go / github.com/traefik/traefik/v2/pkg/api
GitHub AdvisoryBefore 2.3.0-rc6 · Fixed in 2.3.0-rc6affected
2.3.0-rc1 to < 2.3.0-rc6 · Fixed in 2.3.0-rc6affected

Nuclei templates

1
ProjectDiscoveryMEDIUMTraefik - 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.

WeaknessesCWE-601
Authorsdwisiswant0
Template tagscvecve2020traefikredirectvuln
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
CPE: cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*
Shodan: http.title:"traefik"
FOFA: title="traefik"
Google: intitle:"traefik"

Source: ProjectDiscovery

References

10