id: glpi-installer

info:
  name: GLPI Installation Page - Exposure
  author: DhiyaneshDK
  severity: high
  description: |
    Detects exposed GLPI Setup page.
  reference:
    - https://glpi-project.org/
  classification:
    cpe: cpe:2.3:a:glpi-project:glpi:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: glpi-project
    product: glpi
    shodan-query: html:"Setup GLPI"
  tags: misconfig,install,exposure,glpi

http:
  - method: GET
    path:
      - "{{BaseURL}}/install/install.php"

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

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