id: invoice-ninja-installer

info:
  name: Invoice Ninja Setup Page - Exposure
  author: DhiyaneshDK
  severity: high
  description: |
    Detects exposed Invoice Ninja Setup page.
  reference:
    - https://invoiceninja.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Invoice Ninja Setup"
  tags: misconfig,install,exposure,invoice

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Invoice Ninja Setup"

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