id: aspnuke-openredirect

info:
  name: ASP-Nuke - Open Redirect
  author: pdteam
  severity: medium
  description: ASP-Nuke contains an open redirect vulnerability. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  reference:
    - https://packetstormsecurity.com/files/125931/ASP-Nuke-2.0.7-Open-Redirect.html
  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
    cwe-id: CWE-601
  metadata:
    max-request: 1
  tags: packetstorm,aspnuke,redirect

http:
  - method: GET
    path:
      - "{{BaseURL}}/gotoURL.asp?url=interact.sh&id=43569"

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