id: dolibarr-installer

info:
  name: Dolibarr Installer
  author: pussycat0x
  severity: high
  description: Dolibarr is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: dolibarr
    product: dolibarr_erp\\/crm
    shodan-query: title:"Dolibarr install or upgrade"
  tags: misconfig,exposure,install

http:
  - method: GET
    path:
      - '{{BaseURL}}/install/index.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Dolibarr install or upgrade"
          - "browser language"
        condition: and

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

      - type: status
        status:
          - 200
# digest: 490a004630440220420a3e2c185911104972a884d19284cfe4d5f68a0389c4784a6aefdd9c7e7bdc02206c6c7d2348925e4e8afca01e230d1842794625e95398e27837ee44f000abee5f:922c64590222798bb761d5b6d8e72950