id: netsweeper-open-redirect

info:
  name: Netsweeper 4.0.9 - Open Redirect
  author: daffainfo
  severity: medium
  description: Netsweeper 4.0.9 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/download/133034/netsweeper-issues.tgz
  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: netsweeper,redirect,packetstorm

http:
  - method: GET
    path:
      - "{{BaseURL}}/webadmin/authportal/bounce.php?url=https://interact.sh/"

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