id: fusionauth-admin-setup

info:
  name: FusionAuth Exposed Admin Setup
  author: ritikchaddha
  severity: high
  description: FusionAuth Admin Setup is exposed.
  classification:
    cpe: cpe:2.3:a:fusionauth:fusionauth:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: fusionauth
    product: fusionauth
    shodan-query: title:"FusionAuth Setup Wizard"
    fofa-query: title="FusionAuth Setup Wizard"
  tags: misconfig,fusionauth,admin,setup

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/setup-wizard"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>FusionAuth Setup Wizard'
          - 'FusionAuth is now installed and running'
        condition: or

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