CVE-2024-23817 Dolibarr Application Home Page HTML injection vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHPUbuntu
Description
Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. Version 18.0.4 has a HTML Injection vulnerability in the Home page of the Dolibarr Application. This vulnerability allows an attacker to inject arbitrary HTML tags and manipulate the rendered content in the application's response. Specifically, I was able to successfully inject a new HTML tag into the returned document and, as a result, was able to comment out some part of the Dolibarr App Home page HTML code. This behavior can be exploited to perform various attacks like Cross-Site Scripting (XSS). To remediate the issue, validate and sanitize all user-supplied input, especially within HTML attributes, to prevent HTML injection attacks; and implement proper output encoding when rendering user-provided data to ensure it is treated as plain text rather than executable HTML.
Upgrade path
4 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/dolibarr(Ubuntu Pro 16.04) | = 3.5.5+dfsg1-2; = 3.5.7+dfsg1-1; = 3.5.8+dfsg1-1; = 3.5.8+dfsg1-1ubuntu1 +2 more | No fix listed | No fix yet |
| dolibarr/dolibarr(Packagist) | >= 18.0.4, < 18.0.7 | 18.0.7 | Fixed |
| dolibarr erpcrm | = 18.0.4 | No fix listed | Versions listed |
| dolibarr/dolibarr | = = 18.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dolibarr/dolibarr(Packagist) | >= 18.0.4, < 18.0.7 | 18.0.7 |
| dolibarr/dolibarr | = = 18.0.4 | No fix listed |
| dolibarr erpcrm | = 18.0.4 | No fix listed |
| ubuntu/dolibarr(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/dolibarr(Ubuntu:Pro:16.04) | = 3.5.5+dfsg1-2 | No fix listed |
| ubuntu/dolibarr(Ubuntu:Pro:16.04) | = 3.5.7+dfsg1-1 | No fix listed |
| ubuntu/dolibarr(Ubuntu:Pro:16.04) | = 3.5.8+dfsg1-1 | No fix listed |
| ubuntu/dolibarr(Ubuntu:Pro:16.04) | = 3.5.8+dfsg1-1ubuntu1 | No fix listed |
| ubuntu/dolibarr(Ubuntu:Pro:16.04) | = 3.5.8+dfsg1-1ubuntu1+esm1 | No fix listed |
References
- https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-7947-48q7-cp5m exploit issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking