cbcvebase.
CVE-2020-15129
published 2020-07-30

CVE-2020-15129: 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"…

PriorityP334medium4.7CVSS 3.1
AVNACHPRNUIRSCCLILAN
EXPLOIT
EPSS
8.01%
94.0th percentile
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.

Affected

17 ranges
VendorProductVersion rangeFixed in
containoustraefik< 1.7.261.7.26
containoustraefik
github.comcontainous_traefik>= 1.5.0-rc5 < 1.7.261.7.26
github.comcontainous_traefik_api>= 1.5.0-rc5 < 1.7.261.7.26
github.comcontainous_traefik_v2>= 0 < 2.2.82.2.8
github.comcontainous_traefik_v2>= 2.3.0-rc1 < 2.3.0-rc32.3.0-rc3
github.comcontainous_traefik_v2_pkg_api>= 0 < 2.2.82.2.8
github.comcontainous_traefik_v2_pkg_api>= 2.3.0-rc1 < 2.3.0-rc32.3.0-rc3
github.comtraefik_traefik>= 1.5.0-rc5 < 1.7.261.7.26
github.comtraefik_traefik_api>= 1.5.0-rc5 < 1.7.261.7.26
github.comtraefik_traefik_v2>= 0 < 2.3.0-rc62.3.0-rc6
github.comtraefik_traefik_v2>= 2.3.0-rc1 < 2.3.0-rc62.3.0-rc6
github.comtraefik_traefik_v2_pkg_api>= 0 < 2.3.0-rc62.3.0-rc6
github.comtraefik_traefik_v2_pkg_api>= 2.3.0-rc1 < 2.3.0-rc62.3.0-rc6
traefiktraefik< 1.7.261.7.26
traefiktraefik
traefiktraefik>= 2.2.0 < 2.2.82.2.8

Detection & IOCsextracted from sources · hover to see the quote

otherX-Forwarded-Prefix: https://foo.nl
otherHTTP 302 Found (open redirect response)
othershodan-query: http.title:"traefik"
otherfofa-query: title="traefik"
othergoogle-query: intitle:"traefik"
  • Send a GET request to the Traefik base URL with the header 'X-Forwarded-Prefix: https://foo.nl' and look for an HTTP 302 response with body containing 'Found' — this confirms the open redirect is exploitable.
  • The vulnerability is in the Traefik API dashboard component, which does not validate that the 'X-Forwarded-Prefix' header value is a site-relative path, allowing redirect to any attacker-supplied URI.
  • Identify exposed Traefik instances via Shodan (http.title:"traefik"), FOFA (title="traefik"), or Google (intitle:"traefik") for mass scanning of potentially vulnerable endpoints.
  • ·Exploitation requires active injection of the X-Forwarded-Prefix header, making opportunistic mass exploitation less likely; however, cache poisoning scenarios remain a concern.
  • ·Affected versions are Traefik before 1.7.26, 2.2.8, and 2.3.0-rc3. The nuclei template targets only the base URL (max-request: 1), so deeper path coverage may be needed in complex deployments.

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.0MEDIUMAV:N/AC:H/Au:N/C:P/I:P/A:N
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.