id: budibase-admin-installer

info:
  name: Budibase - Admin Installer
  author: 0x_Akoko
  severity: high
  description: |
    Detected Budibase admin setup checklist endpoint was publicly accessible with no admin user created, allowing unauthenticated users to complete setup and gain full platform control.
  reference:
    - https://github.com/Budibase/budibase
  metadata:
    verified: true
    max-request: 1
    vendor: budibase
    product: budibase
    fofa-query: app="Budibase"
    shodan-query: http.title:"Budibase"
  tags: exposure,setup,installer,budibase

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/global/configs/checklist"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains(header, "X-Budibase-Tenant-Id")'
          - 'contains_all(body, "\"adminUser\":{\"checked\":false", "\"smtp\"", "\"branding\"", "/builder/portal")'
        condition: and
# digest: 4b0a004830460221009af8b6a7e68523f5e6a95ff5f43fe3c3b6dda9f170881dc599d72178252c7b25022100df45ea55d37657dcd9186c6cfb07cf891e09662e4ba9278f77ff18e83b404a62:922c64590222798bb761d5b6d8e72950