---
id: CVE-2018-25357
title: >-
  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
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…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: dolibarr
product: dolibarr_erp/crm
affected:
  - dolibarr_erp/crm <= 7.0.3
published: '2026-05-23'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:16:42.873'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2018-25357'
references:
  - url: 'https://dolibarr.org'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Dolibarr/dolibarr'
    label: disclosure@vulncheck.com
  - url: 'https://www.exploit-db.com/exploits/44964'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/dolibarr-erp-crm-remote-code-evaluation-via-install-step1-php
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-05-26T13:35:42.433205Z'
epss: 0.01701
epssPercentile: 0.76501
ingestedAt: '2026-10-08T16:52:14.682Z'
---

## Overview

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.

## Affected

- `dolibarr_erp/crm <= 7.0.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
