HexBrain

Browse / CVEs / CVE-2020-15129

CVE-2020-15129· traefik / traefik· CWE-601

Traefik - Open Redirect

mediumseverity
4.7CVSS score
8%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the vendor-provided patch or upgrade to a non-vulnerable version of Traefik.

How to confirm it

Send: GET {{BaseURL}}
Positive when: contains "<a href=\"https://foo.nl/dashboard/\">Found</a>" AND status 302

Run it with nuclei: nuclei -id CVE-2020-15129 -u <target>. This check is not marked as verified by its authors.

The full check
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.08011
    epss-percentile: 0.94813
    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,vuln

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

References

Use this check only on systems you are authorised to test. Where the data comes from