CVE-2017-14238: Dolibarr SQL Injection Vulnerability in admin/menus/edit.php

dolibarr/dolibarr Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Critical
9.8

CVE-2017-14238: Dolibarr SQL injection vulnerability in admin/menus/edit.php. Affects dolibarr/dolibarr versions < 6.0.1. Fixed in 6.0.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Dolibarr ERP/CRM is an open-source software package that provides enterprise resource planning (ERP) and customer relationship management (CRM) functionalities. It is widely used by businesses to manage various aspects of their operations, including inventory, sales, accounting, and customer interactions. The vulnerability in question affects Dolibarr version 6.0.0.

Vulnerability Detail

The vulnerability identified as CVE-2017-14238 is a SQL injection vulnerability that exists in the 'edit.php' file located in the 'admin/menus' directory of Dolibarr. This vulnerability allows remote attackers to execute arbitrary SQL commands by exploiting the 'menuId' parameter. By injecting malicious SQL code, an attacker can manipulate the database and potentially gain unauthorized access to sensitive information or modify data within the system.

How To Fix

Minimum fixed version

6.0.1

This is the first release that contains the fix.

composer require dolibarr/dolibarr:6.0.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can apply input validation and sanitization measures to the affected parameter ('menuId') in the 'edit.php' file. By implementing proper input filtering and parameter binding techniques, the risk of SQL injection can be mitigated. Here is an example of how to sanitize the 'menuId' parameter using PHP:

$menuId = filter_var($_GET['menuId'], FILTER_SANITIZE_NUMBER_INT);

Conclusion

The Dolibarr SQL injection vulnerability (CVE-2017-14238) poses a significant risk to the security and integrity of Dolibarr ERP/CRM installations running version 6.0.0. It is crucial for users to upgrade to version 6.0.1 or later to ensure the vulnerability is patched and their systems are secure. Implementing proper input validation and sanitization techniques can also provide temporary mitigation until the upgrade is performed. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for dolibarr/dolibarr →

Share this vulnerability

FAQ

Dolibarr ERP/CRM is an open-source software package that provides enterprise resource planning (ERP) and customer relationship management (CRM) functionalities. It is widely used by businesses to manage various aspects of their operations, including inventory, sales, accounting, and customer interactions.

A SQL injection vulnerability is a security flaw that allows an attacker to manipulate a database by injecting malicious SQL code. By exploiting this vulnerability, an attacker can execute arbitrary SQL commands and potentially gain unauthorized access to sensitive information or modify data within the system.

The Dolibarr SQL injection vulnerability (CVE-2017-14238) allows remote attackers to execute arbitrary SQL commands by exploiting the 'menuId' parameter in the 'edit.php' file. This can lead to unauthorized access to sensitive information, data manipulation, or even a complete compromise of the system.

To fix the Dolibarr SQL injection vulnerability, it is recommended to upgrade to Dolibarr version 6.0.1 or later. This release includes security patches that address the vulnerability by implementing proper input validation and sanitization techniques.

As a temporary workaround, users can apply input validation and sanitization measures to the 'menuId' parameter in the 'edit.php' file. By implementing proper input filtering and parameter binding techniques, the risk of SQL injection can be mitigated.

Related vulnerabilities

Recent vulnerabilities recorded for dolibarr/dolibarr.

How To Fix

Minimum fixed version

6.0.1

This is the first release that contains the fix.

composer require dolibarr/dolibarr:6.0.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.