CVE-2019-25710: Dolibarr ERP-CRM SQLi - Patch Guide
CVE-2019-25710
Unauthenticated SQL injection in Dolibarr ERP-CRM 8.0.4 lets attackers dump customer data, financial records, and credentials. Upgrade immediately to the latest patched version.
Vendor-confirmed - CVE-2019-25710 is a high-impact SQL injection in Dolibarr ERP-CRM 8.0.4 that lets unauthenticated remote attackers extract the entire database, including customer details, financial records, and credentials. Upgrade to the latest patched version immediately.
Overview
CVE-2019-25710 is a high-severity SQL injection vulnerability in Dolibarr ERP-CRM version 8.0.4. The flaw resides in the rowid parameter of the admin/dict.php endpoint. Attackers can exploit this by sending specially crafted POST requests containing malicious SQL code, leveraging error-based techniques to extract sensitive information directly from the application’s database.
Technical Details
The vulnerability has a CVSS score of 8.2. Its vector details indicate a significant threat: it is network-exploitable (Attack Vector: NETWORK), requires no special conditions to exploit (Attack Complexity: LOW), needs no privileges (Privileges Required: NONE), and requires no action from a user (User Interaction: NONE). This combination means an unauthenticated remote attacker can target the application directly.
The specific attack vector is the rowid POST parameter. By injecting SQL commands, an attacker can manipulate database queries executed by the admin/dict.php script. Successful exploitation could lead to the full compromise of database confidentiality, allowing access to sensitive business data, user credentials, or other proprietary information stored within the Dolibarr system.
Impact
If exploited, this vulnerability allows attackers to execute arbitrary SQL queries. The primary impact is a severe data breach, where sensitive information such as customer details, financial records, employee data, and system credentials can be extracted. This could lead to operational disruption, financial loss, and non-compliance with data protection regulations. While not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, the high CVSS score and ease of exploitation make it a significant potential risk that warrants immediate attention.
Remediation and Mitigation
The primary remediation is to upgrade Dolibarr ERP-CRM to a patched version. Users of version 8.0.4 should consult the official Dolibarr security advisories and apply the relevant update immediately. If an immediate upgrade is not possible, consider the following mitigation steps:
- Restrict network access to the Dolibarr administration interface to trusted IP addresses only.
- Implement a Web Application Firewall (WAF) with rules configured to block SQL injection patterns.
- Conduct a thorough review of application logs for any suspicious POST requests to the
admin/dict.phpendpoint containing unusualrowidparameter values.
For more information on the consequences of data exposure, you can review recent incidents in our breach reports.
Security Insight
This vulnerability highlights a persistent challenge in web application security: the failure to properly sanitize user input in administrative functions. Similar to past SQLi flaws in other ERP systems, CVE-2019-25710 underscores that even core administrative modules are not immune to basic injection flaws. It serves as a reminder that continuous security testing, including on authentication-backed endpoints, is critical for comprehensive application protection. Stay informed on evolving application threats through our security news.
Further Reading
Never miss a critical vulnerability
Get real-time security alerts delivered to your preferred platform.
Related Advisories
Balbooa Joomla Forms Builder 2.0.6 contains an unauthenticated SQL injection vulnerability in the form submission handler that allows remote attackers to execute arbitrary SQL queries. Attackers can s...
XATABoost CMS 1.0.0 contains a union-based SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the id parameter. Attackers ca...
SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs. Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0....
SQL Injection vulnerability in Apartment Visitors Management System Apartment Visitors Management System V1.1 in the contactno parameter of the forgot password page (forgot-password.php). This allows ...