id: octoprint-installer

info:
  name: OctoPrint Installation Page - Exposure
  author: DhiyaneshDk
  severity: high
  description: |
    Checks for the presence of a OctoPrint Installer Page.
  classification:
    cpe: cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: octoprint
    product: octoprint
    fofa-query: body="Thank you for installing OctoPrint"
  tags: install,octoprint,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Thank you for installing OctoPrint"

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