id: emlog-installer

info:
  name: Emlog Pro - Installation
  author: ritikchaddha
  severity: high
  description: |
    Emlog Pro Installation page has been exposed.
  metadata:
    max-request: 1
    verified: true
    fofa-query: title="emlog"
  tags: emlog,install,misconfig,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '>MySQL'
          - 'install.php?action=install'
          - 'emlog'
        condition: and
        case-insensitive: true

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