Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Dolibarr | dolibarr | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dolibarr | Dolibarr |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-w5j3-8fcr-h87w | Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.922% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dolibarr dolibarr Erp\/crm
|
|
| CPEs | cpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Dolibarr dolibarr Erp\/crm
|
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dolibarr
Dolibarr dolibarr |
|
| Vendors & Products |
Dolibarr
Dolibarr dolibarr |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. In versions prior to 23.0.0 , the ODT to PDF conversion process in odf.php concatenates the MAIN_ODT_AS_PDF configuration constant directly into a shell command passed to exec() without sanitization. An authenticated administrator can inject arbitrary OS commands via this constant using command separators, achieving remote code execution as the web server user when any ODT template is generated. This issue has been fixed in version 23.0.0. | |
| Title | Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV4_0
|