The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-5315

CVE-2024-5315: Dolibarr ERP/CRM SQL Injection Vulnerability

CVE-2024-5315 is a SQL injection flaw in Dolibarr ERP/CRM version 9.0.1 that allows attackers to extract database information via the viewstatut parameter. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-5315 Overview

CVE-2024-5315 is a SQL Injection vulnerability affecting Dolibarr ERP/CRM version 9.0.1. This vulnerability allows a remote attacker to send a specially crafted SQL query to the system and retrieve all information stored in the database through the viewstatut parameter in /dolibarr/commande/list.php. Dolibarr is a widely-used open-source ERP and CRM platform designed for small and medium-sized businesses, making this vulnerability particularly concerning for organizations managing sensitive business data.

Critical Impact

Remote unauthenticated attackers can extract complete database contents including customer records, financial data, user credentials, and other sensitive business information stored in Dolibarr ERP/CRM systems.

Affected Products

  • Dolibarr ERP/CRM version 9.0.1

Discovery Timeline

  • 2024-05-24 - CVE-2024-5315 published to NVD
  • 2025-04-10 - Last updated in NVD database

Technical Details for CVE-2024-5315

Vulnerability Analysis

This SQL Injection vulnerability (CWE-89) exists in the order list functionality of Dolibarr ERP/CRM. The viewstatut parameter in /dolibarr/commande/list.php fails to properly sanitize user-supplied input before incorporating it into SQL queries. This allows attackers to inject arbitrary SQL commands that are executed with the privileges of the database user configured for the Dolibarr application.

The vulnerability enables attackers to bypass application-level security controls entirely and interact directly with the underlying database. Successful exploitation can lead to unauthorized access to confidential business data, modification of critical records, and potential lateral movement within the target environment.

Root Cause

The root cause of this vulnerability is improper input validation and lack of parameterized queries in the handling of the viewstatut parameter. When processing requests to the /dolibarr/commande/list.php endpoint, user-supplied values are concatenated directly into SQL statements without adequate sanitization or the use of prepared statements. This classic SQL injection pattern allows attackers to break out of the intended query context and execute arbitrary database commands.

Attack Vector

The attack vector is network-based and does not require authentication. An attacker can craft malicious HTTP requests targeting the vulnerable endpoint with specially formatted SQL payloads in the viewstatut parameter. The attack requires no user interaction and can be executed remotely against any internet-accessible Dolibarr installation running the affected version.

A typical attack would involve sending GET or POST requests to /dolibarr/commande/list.php with SQL injection payloads embedded in the viewstatut parameter. Attackers may use techniques such as UNION-based injection to extract data, boolean-based blind injection to enumerate database contents, or time-based blind injection when direct output is not visible.

Detection Methods for CVE-2024-5315

Indicators of Compromise

  • Unusual SQL error messages in web server logs or application logs originating from /dolibarr/commande/list.php
  • HTTP requests to /dolibarr/commande/list.php containing SQL keywords like UNION, SELECT, OR 1=1, or encoded variants in the viewstatut parameter
  • Database audit logs showing unauthorized queries or access to sensitive tables
  • Unexpected data exports or bulk record access patterns in Dolibarr activity logs

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns in requests to Dolibarr endpoints
  • Implement database query monitoring to identify anomalous SQL statements executed against the Dolibarr database
  • Configure intrusion detection systems (IDS) to alert on suspicious HTTP traffic patterns targeting /dolibarr/commande/list.php
  • Enable detailed logging on web servers and review logs for requests containing SQL metacharacters

Monitoring Recommendations

  • Monitor web server access logs for requests to /dolibarr/commande/list.php with suspicious query strings
  • Implement database activity monitoring to track queries executed by the Dolibarr application user
  • Set up alerts for failed authentication attempts and unusual database access patterns
  • Regularly audit Dolibarr user accounts and access logs for signs of compromise

How to Mitigate CVE-2024-5315

Immediate Actions Required

  • Upgrade Dolibarr ERP/CRM to the latest stable version that addresses this vulnerability
  • Restrict network access to Dolibarr installations to trusted IP ranges where possible
  • Implement Web Application Firewall rules to filter SQL injection attempts targeting the vulnerable endpoint
  • Review database logs for evidence of exploitation and reset credentials if compromise is suspected

Patch Information

Organizations should upgrade to a patched version of Dolibarr ERP/CRM. For detailed information about available patches and security updates, refer to the INCIBE Security Notice for official guidance on remediation steps.

Workarounds

  • Deploy a reverse proxy or WAF in front of Dolibarr to filter malicious requests before they reach the application
  • Temporarily restrict access to /dolibarr/commande/list.php if the order listing functionality is not business-critical
  • Implement network segmentation to limit the blast radius if the Dolibarr server is compromised
  • Apply principle of least privilege to the database user account used by Dolibarr to minimize potential impact of SQL injection attacks
bash
# Example: Apache mod_rewrite rule to block suspicious requests
# Add to .htaccess or Apache configuration
RewriteEngine On
RewriteCond %{QUERY_STRING} (union|select|insert|delete|update|drop|script) [NC]
RewriteRule ^/dolibarr/commande/list\.php - [F,L]

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechDolibarr

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability56.85%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • INCIBE Security Notice
  • Related CVEs
  • CVE-2019-25450: Dolibarr ERP/CRM SQLi Vulnerability

  • CVE-2019-25452: Dolibarr ERP/CRM SQLi Vulnerability

  • CVE-2026-34036: Dolibarr LFI Information Disclosure Flaw

  • CVE-2025-69634: Dolibarr ERP & CRM CSRF Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English