Enviar #990315: Dolibarr Dolibarr ERP CRM Latest develop branch as of the submission date, confirmed on official Docker image (v23.0.2) Content-Type Override and API Authorization Bypass Leading to Uninformación

TítuloDolibarr Dolibarr ERP CRM Latest develop branch as of the submission date, confirmed on official Docker image (v23.0.2) Content-Type Override and API Authorization Bypass Leading to Un
DescripciónA vulnerability chain in Dolibarr ERP CRM (up to and including v23.0.2) allows a low-privileged authenticated user to upload arbitrary HTML content to the public medias directory via the REST API, which bypasses the permission checks enforced by the web interface. The file serving endpoint (document.php) accepts user-controlled URL parameters that override the HTTP Content-Type header, causing stored files to be rendered as text/html inline in the browser. The medias directory is served without authentication, and the Content Security Policy omits the form-action directive, allowing HTML forms in the served content to submit data to external destinations without restriction. Combined, these weaknesses enable credential disclosure affecting unauthenticated external users through content served from the trusted application domain. Fixed in v24.0 via commits https://github.com/Dolibarr/dolibarr/commit/022a6c3b519a88df224b21ea02e27e96f2c3c192 and https://github.com/Dolibarr/dolibarr/commit/9f9ffa288d4ad2632c1d5dd88272c699a592f4ec
Fuente⚠️ https://github.com/Dolibarr/dolibarr/commit/9f9ffa288d4ad2632c1d5dd88272c699a592f4ec
Usuario
 Mesh3l (UID 101319)
Sumisión2026-09-18 11:13 (hace 1 mes)
Moderación2026-10-19 16:57 (1 month later)
EstadoAceptado
Entrada de VulDB422397 [Dolibarr hasta 23.0.2 CSP htdocs/document.php escalada de privilegios]
Puntos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!