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

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