CVE-2021-25956
JSON

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 packageVersionsReported by
Dolibarr dolibarrfrom 3.3.beta1_20121221 before *, from 3.3.1 up to 13.0.2CVE List, NVD
dolibarr/dolibarr (Packagist)from 3.3.beta1 before 14.0.0GitHub Advisory Database
dolibarr dolibarr_erp/crm3.3.0NVD
dolibarr (Bitnami)from 3.3.0-beta1 up to 3.3.0-beta1, from 3.3.0-beta2 up to 3.3.0-beta2Bitnami Vulnerability Database

All scores

Mend4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
GitHub7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh 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

Sources

SourceRecordLicence
CVE ListCVE-2021-25956 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-fjqg-w8g6-hhq8 changed 2025-04-03CC-BY-4.0
NVDCVE-2021-25956 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DOLIBARR-2021-25956 changed 2025-05-20Apache-2.0