id: piwik-installer

info:
  name: Piwik Installer Exposure
  author: DhiyaneshDk
  severity: low
  description: Piwik is susceptible to the Installation page exposure due to misconfiguration.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Piwik &rsaquo; Installation"
  tags: misconfig,piwik,install

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Piwik"
          - "Installation status"
        condition: and

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

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