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,vuln

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