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,vuln

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