id: pagekit-installer

info:
  name: Pagekit Installer Exposure
  author: DhiyaneshDk
  severity: high
  description: Pagekit is susceptible to the Installation page exposure due to misconfiguration.
  reference:
    - https://github.com/pagekit/pagekit
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Pagekit Installer"
  tags: misconfig,pagekit,install,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}/installer'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Pagekit Installer'
          - 'Connect database'
        condition: and

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

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