CVE-2024-37821: An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 al...
An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 allows attackers to execute arbitrary code via uploading a crafted .SQL file.
Security readout for executives and security teams
Plain-English summary
Dolibarr ERP CRM installations up to v19.0.1 may allow a logged-in attacker to upload a crafted SQL template and run arbitrary code. That can lead to full compromise of application data and service availability. The public record does not provide complete affected-product metadata or a named fixed version.
Executive priority
Treat this as a high-priority exposure for Dolibarr environments because successful abuse could compromise data and application control. Prioritize internet-facing or broadly accessible administrative deployments first.
Technical view
The CVE describes arbitrary file upload in Dolibarr ERP CRM's Upload Template function, mapped to CWE-94. CVSS 3.1 is 8.8 with network access, low complexity, low privileges, no user interaction, and high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is most likely where Dolibarr ERP CRM up to v19.0.1 is deployed and authenticated users can reach the Upload Template function. Structured CPE/vendor/product fields are incomplete in the source bundle.
Exploitation context
The CVE is not listed as KEV in the supplied bundle. The sources support potential arbitrary code execution after authenticated access, but they do not establish active exploitation in the wild.
Researcher notes
Evidence is limited to the CVE record and one public GitHub reference. The affected range is stated in the description, while structured affected metadata is marked n/a, so validate against vendor documentation before final scoping.
Mitigation direction
Identify all Dolibarr ERP CRM deployments and versions.
Check Dolibarr vendor guidance for a fixed release or official mitigation.
Restrict Upload Template access to trusted administrative users only.
Limit network access to Dolibarr administration surfaces where feasible.
Monitor for unexpected SQL template uploads or template changes.
Validation and detection
Confirm whether each instance is Dolibarr ERP CRM v19.0.1 or earlier.
Review roles allowed to use the Upload Template function.
Inspect application and web logs for unusual template upload activity.
Verify any remediation against official Dolibarr release notes or advisories.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-94 · source CWE mapping
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.