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

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