id: orangehrm-installer

info:
  name: OrangeHrm Installer
  author: pussycat0x
  severity: high
  description: OrangeHrm is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:orangehrm:orangehrm:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: orangehrm
    product: orangehrm
    shodan-query: http.title:"OrangeHRM Web Installation Wizard"
  tags: misconfig,exposure,install,orangehrm,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "OrangeHRM Web Installation Wizard"
          - "admin user creation"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

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