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.1019
    epss-percentile: 0.93236
    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: 490a0046304402204171a3765ec9ae7de8357fe49456d6441c9ea81d007b4d5257129a1d84fb588a02201151a27d55914561a12a77aa391ee2be53ea2d9f010d547641adc77d9c10e31e:922c64590222798bb761d5b6d8e72950