Skip to content

Traefik - Open Redirect

ID: CVE-2020-15129

Severity: medium

Author: dwisiswant0

Tags: cve,cve2020,traefik,redirect

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.

id: CVE-2020-15129
info:
name: Traefik - Open Redirect
author: dwisiswant0
severity: medium
description: 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.
reference:
- https://securitylab.github.com/advisories/GHSL-2020-140-Containous-Traefik
- https://github.com/containous/traefik/releases/tag/v2.2.8
- https://github.com/containous/traefik/pull/7109
- https://github.com/containous/traefik/security/advisories/GHSA-6qq8-5wq3-86rp
- https://nvd.nist.gov/vuln/detail/CVE-2020-15129
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 4.7
cve-id: CVE-2020-15129
cwe-id: CWE-601
epss-score: 0.01168
epss-percentile: 0.84908
cpe: cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: traefik
product: traefik
shodan-query: http.title:"traefik"
fofa-query: title="traefik"
google-query: intitle:"traefik"
tags: cve,cve2020,traefik,redirect
http:
- method: GET
path:
- "{{BaseURL}}"
headers:
X-Forwarded-Prefix: "https://foo.nl"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<a href=\"https://foo.nl/dashboard/\">Found</a>"
- type: status
status:
- 302
# digest: 4b0a00483046022100eae6cf4f2a3aab5d5a21a4e026a8d8127f670db1e393a0f54a8c132e2a59e4c6022100ff6b8a85ac2549fdeacdda5c4656f2b8499e90dc6834890354a9172e351372a1:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2020/CVE-2020-15129.yaml"

View on Github