id: strapi-admin-installer

info:
  name: Strapi Admin - Installer
  author: dhiyaneshDk
  severity: critical
  description: |
    Strapi Admin Registration enabled was detected.
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Welcome to your Strapi app" html:"create an administrator"
  tags: misconfig,exposure,strapi,install

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Welcome to your Strapi app"
          - "Click to create the first administration"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022078b7d78725acf853a4909c10b64102d09c837fb161fd48a93f8cbf1317431791022076a001b7c3bdda9bcb0db6a7feecece18222f8cd461d12cd005e80262d46f288:922c64590222798bb761d5b6d8e72950