id: chatwoot-installer

info:
  name: Chatwoot - Installation
  author: 0x_Akoko
  severity: high
  description: |
   Detected chatwoot instance with the initial installation onboarding page accessible at /installation/onboarding, enabling unauthenticated users to create the first Super Admin account and gain full platform control.
  reference:
    - https://github.com/chatwoot/chatwoot
    - https://www.chatwoot.com/docs/self-hosted/monitoring/super-admin-sidekiq
  metadata:
    verified: true
    max-request: 1
    vendor: chatwoot
    product: chatwoot
    shodan-query: http.title:"SuperAdmin | Chatwoot"
    fofa-query: title="SuperAdmin | Chatwoot"
  tags: misconfig,install,exposure,chatwoot,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/installation/onboarding"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "SuperAdmin | Chatwoot", "Howdy, Welcome to Chatwoot", "Finish Setup")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a0047304502205a5b73d304c5b4df9151fd2e08e109b7cd7af713838b522b7f1448ad83b076d3022100dc746886bd09b29bf13f2c0431b44c1e6e0eb2908582c8f35389bbf2dead8feb:922c64590222798bb761d5b6d8e72950