id: untangle-admin-setup

info:
  name: Untangle Exposed Admin Signup
  author: ritikchaddha
  severity: medium
  description: Untangle Exposed Admin Signup is exposed publicly.
  classification:
    cpe: cpe:2.3:a:untangle:ng_firewall:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: untangle
    product: ng_firewall
    shodan-query: title:"Setup Wizard" html:"untangle"
    fofa-query: title="Setup Wizard" && "untangle"
  tags: misconfig,untangle,admin,setup

http:
  - method: GET
    path:
      - "{{BaseURL}}/setup/setup.do"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Setup Wizard</title>'
          - 'java.untangle.com'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100d3b3155f310d83f9cec22f388a68ea9f80963c078857da607f06770e9fcacc17022100df4d464d0b679afcbbbb20216eceff660a68f7304c851b11918466dcc5f208c3:922c64590222798bb761d5b6d8e72950