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,vuln

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: 490a0046304402204c15abb0333d504ff7d08bcdea71e5fcaec1c30c725e4c65119bed68539576900220616c90bf2336b72d456128477bdd808b310dd56c040c0176a88599c128f64120:922c64590222798bb761d5b6d8e72950