id: CVE-2020-24550

info:
  name: EpiServer Find <13.2.7 - Open Redirect
  author: dhiyaneshDK
  severity: medium
  description: EpiServer Find before 13.2.7 contains an open redirect vulnerability via the _t_redirect parameter in a crafted URL, such as a /find_v2/_click URL. 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 exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks.
  remediation: |
    Upgrade to EpiServer Find version 13.2.7 or later to fix the open redirect vulnerability.
  reference:
    - https://labs.nettitude.com/blog/cve-2020-24550-open-redirect-in-episerver-find/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-24550
    - https://github.com/anonymous364872/Rapier_Tool
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2020-24550
    cwe-id: CWE-601
    epss-score: 0.00144
    epss-percentile: 0.5018
    cpe: cpe:2.3:a:episerver:find:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: episerver
    product: find
  tags: cve,cve2020,redirect,episerver

http:
  - method: GET
    path:
      - '{{BaseURL}}/find_v2/_click?_t_id=&_t_q=&_t_hit.id=&_t_redirect=https://interact.sh'

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "Location: https://interact.sh"

      - type: status
        status:
          - 301
# digest: 4a0a00473045022018163727234213b861bfb8914b4d77409e691a7f6f9c7c2465b22354950083a50221008f19141194cbd2b54e09312bac9028670397764fb51b86114e0e9e4397c56f03:922c64590222798bb761d5b6d8e72950