id: matomo-installer

info:
  name: Matomo Installer Exposure
  author: DhiyaneshDk
  severity: high
  description: Matomo is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:matomo:matomo:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: matomo
    product: matomo
    shodan-query: title:"Matomo"
  tags: misconfig,matomo,install

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

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

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

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