Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
Dolibarr ERP CRM 7.0.3 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary code by injecting PHP code through the db_name parameter. Attackers can send a POST request to install/step1.php with malicious PHP code in the db_name parameter, then execute commands via the check.php endpoint using the cmd GET parameter.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Dolibarr | Dolibarr ERP CRM | up to 7.0.3 | — | No fix listed | CNA |
| — | dolibarr/dolibarr (Packagist) | 7.0.0 to before 7.0.4 | 7.0.4 | Patch available | GHSA-hxmh-2xc4-c894 |
| — | dolibarr/dolibarr (Packagist) | before 6.0.8 | 6.0.8 | Patch available | GHSA-hxmh-2xc4-c894 |
- Dolibarr ERP CRM VendorDolibarr Affected up to 7.0.3 Fixed in — No fix listed CNA
- dolibarr/dolibarr (Packagist) Vendor— Affected 7.0.0 to before 7.0.4 Fixed in 7.0.4 Patch available GHSA-hxmh-2xc4-c894
- dolibarr/dolibarr (Packagist) Vendor— Affected before 6.0.8 Fixed in 6.0.8 Patch available GHSA-hxmh-2xc4-c894
Remediation
- Fix · GHSA-hxmh-2xc4-c894 dolibarr/dolibarr (Packagist) Fixed in 7.0.4 Advisory →
- Fix · GHSA-hxmh-2xc4-c894 dolibarr/dolibarr (Packagist) Fixed in 6.0.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-25357
- 2026-10-03 Alias added: GHSA-hxmh-2xc4-c894
References
More Dolibarr Erp/crm vulnerabilities
- TI-2022-21049 Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. CVSS 3.1CRITICAL 9.8
- TI-2022-03742 SQL Injection in dolibarr/dolibarr CVSS 3.1CRITICAL 9.8
- TI-2023-14191 Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an… CVSS 3.1HIGH 8.8
- TI-2019-15505 Dolibarr ERP/CRM 10.0.1 SQL Injection via elemid CVSS 4.0HIGH 8.8
- TI-2026-18933 Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration CVSS 4.0CRITICAL 9.4
- TI-2023-20161 Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a… CVSS 3.1CRITICAL 9.6
Sources
- CVE-2018-25357 · CVE Program
- CVE-2018-25357 · NVD
- FIRST EPSS
- GHSA-hxmh-2xc4-c894 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences