4.7medium
Improper User Access Control in "Dolibarr" Leads to Account Takeover
- Severity
- 4.7medium CVSS:3.1 by Mend
- Exploit likelihood
- 0.94% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mend
- Also known as
- GHSA-fjqg-w8g6-hhq8BIT-DOLIBARR-2021-25956
Description
In “Dolibarr” application, v3.3.beta1_20121221 to v13.0.2 have “Modify” access for admin level users to change other user’s details but fails to validate already existing “Login” name, while renaming the user “Login”. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Dolibarr dolibarr | from 3.3.beta1_20121221 before *, from 3.3.1 up to 13.0.2 | CVE List, NVD |
| dolibarr/dolibarr (Packagist) | from 3.3.beta1 before 14.0.0 | GitHub Advisory Database |
| dolibarr dolibarr_erp/crm | 3.3.0 | NVD |
| dolibarr (Bitnami) | from 3.3.0-beta1 up to 3.3.0-beta1, from 3.3.0-beta2 up to 3.3.0-beta2 | Bitnami Vulnerability Database |
All scores
| Mend | 4.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
In “Dolibarr” application, v3.3.beta1_20121221 to v13.0.2 have “Modify” access for admin level users to change other user’s details but fails to validate already existing “Login” name, while renaming the user “Login”. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.
GitHub Advisory Database
In Dolibarr application, v3.3.beta1_20121221 to v13.0.2 have Modify access for admin level users to change other user’s details but fails to validate already existing “Login” name, while renaming the user Login. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.
NVD (es)
En la aplicación "Dolibarr", versiones v3.3.beta1_20121221 a v13.0.2, los usuarios de nivel de administrador presentan acceso a la función "Modify" para cambiar los datos de otros usuarios, pero no comprueba el nombre de "Login" ya existente, mientras cambia el nombre del usuario "Login". Esto conlleva a una toma de posesión completa de la cuenta del usuario víctima. Esto sucede porque la contraseña es sobreescrita para el usuario víctima que presenta un nombre de inicio de sesión similar.
References
| https://github.com/Dolibarr/dolibarr/commit/c4cba43bade736ab89e31013a6ccee59a6e077ee | patch, third-party-advisory, web | |
| https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25956 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-25956 | advisory, web | |
| https://github.com/Dolibarr/dolibarr | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25956 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fjqg-w8g6-hhq8 changed 2025-04-03 | CC-BY-4.0 |
| NVD | CVE-2021-25956 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DOLIBARR-2021-25956 changed 2025-05-20 | Apache-2.0 |