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

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: 490a004630440220222a714db2b9cab2aee480aafe4898e79b673b3ab5c27e041119331b4d414dc902202c5d15935c8df76554f0ba89086c7a719a8bfd2fc866aadd3f159dc8fc300968:922c64590222798bb761d5b6d8e72950