id: nagios-logserver-installer

info:
  name: Nagios Log Server - Install
  author: ritikchaddha
  severity: high
  description: |
    Detects the presence of a Nagios Log Server installation page, which can expose configuration setup information or initialization steps.
  metadata:
    verified: true
    max-request: 1
    fofa-query: title="Install &middot; Nagios Log Server"
    shodan-query: title:"Install &middot; Nagios Log Server"
  tags: misconfig,install,nagios,nagios-logserver

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Nagios Log Server"
          - "Install</a>"
        condition: and

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