id: server-monitor-installer

info:
  name: Server Monitor Installer
  author: tess
  severity: high
  description: Server Monitor is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:poweradmin:pa_server_monitor:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: poweradmin
    product: pa_server_monitor
    shodan-query: title:"SERVER MONITOR - Install"
  tags: misconfig,monitor,exposure,install

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>SERVER MONITOR - Install</title>"
          - "PHP Server Monitor - Install"
          - "install.php?action=config"
        condition: and

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

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