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: 4a0a00473045022017827196989cee886a70589022fbc13c4fba24d0fb1a9eaf3e0e6dfec846d5890221008701833ff2c9a710dc9a305649d92b880baa32674c81d4fba5cb5fbe7abce7ca:922c64590222798bb761d5b6d8e72950