id: combodo-itop-installer

info:
  name: Combodo iTop Installer/Upgrade - Exposure
  author: DhiyaneshDK
  severity: high
  description: Combodo iTop is susceptible to the Installation page exposure due to misconfiguration.
  reference:
    - https://www.itophub.io/wiki/page?id=2_4_0:install:install_wizard
  metadata:
    verified: true
    max-request: 2
    shodan-query: html:"Installation" html:"itop"
  tags: misconfig,itop,install,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}/setup/wizard.php'
      - '{{BaseURL}}/itop/setup/wizard.php'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "iTop Installation Wizard"
          - "/setup.js"
        condition: and

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