id: CVE-2013-2621

info:
  name: Telaen => v1.3.1 - Open Redirect
  author: ctflearner
  severity: medium
  description: |
    Open Redirection Vulnerability in the redir.php script in Telaen before 1.3.1 allows remote attackers to redirect victims to arbitrary websites via a crafted URL.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the installation of malware.
  remediation: |
    Upgrade to the latest version of Telaen to fix the open redirect vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/38546
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/84683
    - https://nvd.nist.gov/vuln/detail/CVE-2013-2621
  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-2013-2621
    cwe-id: CWE-601
    epss-score: 0.10692
    epss-percentile: 0.95357
    cpe: cpe:2.3:a:telaen_project:telaen:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: telaen_project
    product: telaen
  tags: cve2013,cve,telaen,redirect,telaen_project,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/telaen/redir.php?https://interact.sh"
      - "{{BaseURL}}/redir.php?https://interact.sh"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
# digest: 4a0a00473045022100856b5727fc02543106b5f57f573668894814e3ab96933c9d62ed5cfa07756a8d022057966a66fba2ca97a69d3abb4469a0c88d55ce0c64b4439ff29a9de8cc815263:922c64590222798bb761d5b6d8e72950