id: netsus-default-login

info:
  name: NetSUS Server Default Login
  author: princechaddha
  severity: high
  description: NetSUS Server default admin credentials were discovered.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
    cvss-score: 8.3
    cwe-id: CWE-522
  metadata:
    max-request: 1
    shodan-query: http.title:"NetSUS Server Login"
  tags: netsus,default-login

http:
  - raw:
      - |
        POST /webadmin/index.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        loginwith=suslogin&username={{username}}&password={{password}}&submit=

    attack: pitchfork
    payloads:
      username:
        - webadmin
      password:
        - webadmin

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'Location: dashboard.php'
          - 'PHPSESSID='
        condition: and

      - type: status
        status:
          - 302

# digest: 4b0a00483046022100f81ef0749fcb57b49a9eee5f0d9ef75806c3f56c5940782b6063ac5c689bab70022100f300142aa6fdcb0f7e9562484cd14eb4ebb8d0efb0597c63a69b6407f6eed8b2:922c64590222798bb761d5b6d8e72950
