CVE-2018-25357

Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php

Published May 23, 2026 CVSS 4.0 · 9.3 Critical EPSS 1.7% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Dolibarr ERP CRM 7.0.3 contains a flaw that allows an attacker to execute arbitrary PHP code by injecting PHP into the db_name parameter of the install/step1.php script. When a crafted POST request is sent, the payload is evaluated, and the attacker can then use the check.php endpoint with a cmd parameter to run arbitrary system commands. This remote code execution compromises confidentiality, integrity, and availability of the affected server.

Affected Systems

The vulnerability targets the Dolibarr ERP CRM product, specifically version 7.0.3. No other Dolibarr releases or product lines have been confirmed to contain this flaw according to available data.

Risk and Exploitability

The CVSS score is 9.3, indicating critical severity, and the EPSS score of 2% suggests a modest probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, but absence of a KEV listing does not lower the risk. Attackers can exploit the flaw without authentication by sending a crafted POST request to install/step1.php, and subsequently execute commands via check.php.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dolibarr ERP CRM to a version that includes the fix (7.0.4 or later).
  • Remove or rename the install directory and delete install/step1.php from the web root to eliminate the vulnerable script.
  • Configure the web server or application firewall to block unauthenticated POST requests to install/step1.php and any other install‑related endpoints.

Generated by OpenCVE AI on June 18, 2026 at 02:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hxmh-2xc4-c894 Dolibarr ERP CRM contains a remote code evaluation vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Dolibarr ERP CRM 7.0.3 contains a remote code evaluation 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. 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.
Title Dolibarr ERP CRM 7.0.3 Remote Code Evaluation via install/step1.php Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php
Type Values Removed Values Added
First Time appeared Dolibarr erp Crm
Vendors & Products Dolibarr erp Crm
Type Values Removed Values Added
Description Dolibarr ERP CRM 7.0.3 contains a remote code evaluation 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.
Title Dolibarr ERP CRM 7.0.3 Remote Code Evaluation via install/step1.php
First Time appeared Dolibarr
Dolibarr dolibarr Erp\/crm
Weaknesses CWE-94
CPEs cpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:*
Vendors & Products Dolibarr
Dolibarr dolibarr Erp\/crm
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:20 PM
Reserved
May 23, 2026, 4:27 PM
Status
Analyzed
Published
May 23, 2026, 7:16 PM
Modified
Oct 8, 2026, 4:16 PM