CVE-2018-13449 in Dolibarrinfo

Summary

by MITRE

SQL injection vulnerability in product/card.php in Dolibarr ERP/CRM version 7.0.3 allows remote attackers to execute arbitrary SQL commands via the statut_buy parameter.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 04/05/2023

The vulnerability identified as CVE-2018-13449 represents a critical sql injection flaw within the Dolibarr ERP/CRM platform version 7.0.3, specifically affecting the product/card.php component. This vulnerability resides in the handling of user-supplied input through the statut_buy parameter, which is processed without adequate sanitization or validation mechanisms. The flaw enables remote attackers to manipulate database queries by injecting malicious sql commands through this parameter, potentially compromising the entire database infrastructure.

The technical nature of this vulnerability aligns with CWE-89, which categorizes sql injection as a weakness where untrusted data is incorporated into sql queries without proper escaping or parameterization. The affected parameter statut_buy appears to be directly incorporated into database queries without appropriate input filtering, creating an attack surface where malicious actors can construct sql payloads that execute with the privileges of the database user. This vulnerability specifically targets the application's data layer and represents a classic server-side sql injection vector that bypasses normal application security controls.

From an operational perspective, the impact of this vulnerability extends beyond simple data theft to encompass complete database compromise, allowing attackers to read, modify, or delete sensitive information. The remote exploitability means that attackers do not require physical access to the system, making the vulnerability particularly dangerous in internet-facing applications. The attack could result in unauthorized access to customer data, financial records, user credentials, and other sensitive business information stored within the dolibarr database. Additionally, the compromised system could serve as a pivot point for further attacks within the network infrastructure.

The attack surface for this vulnerability can be analyzed through the ATT&CK framework, particularly under the execution and credential access phases where attackers might leverage sql injection to escalate privileges and move laterally within the organization. Organizations using dolibarr version 7.0.3 should implement immediate mitigations including input validation, parameterized queries, and web application firewalls to protect against exploitation attempts. The recommended remediation involves upgrading to patched versions of dolibarr, implementing proper input sanitization techniques, and conducting comprehensive security testing of all database interaction points. Security measures should also include monitoring for unusual database query patterns and implementing least privilege database access controls to limit potential damage from successful exploitation attempts.

Reservation

07/08/2018

Disclosure

07/08/2018

Moderation

accepted

CPE

ready

EPSS

0.01918

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!