id: snipe-it-installer

info:
  name: Snipe-IT Setup Page - Exposure
  author: DhiyaneshDK
  severity: high
  description: |
    Detects exposed Snipe-IT Setup page.
  reference:
    - https://snipeitapp.com/
  classification:
    cpe: cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: snipeitapp
    product: snipe-it
    shodan-query: html:"Snipe-IT Setup"
  tags: misconfig,install,exposure,snipe-it

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Snipe-IT Setup"
          - "Create Admin User"
        condition: and

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