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

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