id: mautic-installer

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

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Mautic Installation - Environment Check'
          - 'Ready to Install!'
        condition: and

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

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