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
  classification:
    cpe: cpe:2.3:a:combodo:itop:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: combodo
    product: itop
    shodan-query: html:"Installation" html:"itop"
  tags: misconfig,itop,install,exposure,vuln

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: 4a0a00473045022012550911eb531d4bcfc8ad9121506d36d7297bc8cc4a3c7e291d5ef92fb2c8b2022100ced5f4208cb4de31a8c7a861f358cd1b9da8232abbdb361c29e881db2a412637:922c64590222798bb761d5b6d8e72950