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

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