{"id":"CVE-2021-25956","published":"2021-08-17T14:15:54Z","modified":"2024-09-16T19:45:46Z","title":"Improper User Access Control in \"Dolibarr\" Leads to Account Takeover","vendor":"Dolibarr","product":"dolibarr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00935,"percentile":0.59116,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/Dolibarr/dolibarr/commit/c4cba43bade736ab89e31013a6ccee59a6e077ee","tags":["x_refsource_MISC"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25956","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":11.82},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"dolibarr","affectedVersions":[{"vendor":"Dolibarr","product":"dolibarr","versions":[">= 3.3.beta1_20121221"]}],"solutions":{"items":["Update to 14.0.0"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"dolibarr/dolibarr","vulnerableRanges":[">=3.3.beta1, <14.0.0"],"patched":["14.0.0"],"from":["GHSA-fjqg-w8g6-hhq8"],"provenance":"source"}],"summary":{"text":"A flaw in the user management module of Dolibarr (versions 3.3.beta1_20121221 through 13.0.2) allows an admin-level user with modify access to rename another user's login without checking whether the new login already exists. An attacker with admin-level privileges, reachable over the network, can exploit this to overwrite the password of a victim account that shares a similar login name, resulting in full account takeover; no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:41Z"},"euvd":{"id":"EUVD-2021-2054","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dolibarr-cve-2018-19998","parents":[{"from":"CVE-2018-19998","to":"CVE-2021-25956","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htdocs/user/class/user.class.php"],"commits":["https://github.com/Dolibarr/dolibarr/commit/bacd5110fbdc81a35030fdc322775fa15ea85924","https://github.com/Dolibarr/dolibarr/commit/2b088a73c121a52e006c0d76ea4da7ffeb7b4f4a","https://github.com/Dolibarr/dolibarr/commit/c4cba43bade736ab89e31013a6ccee59a6e077ee"],"basis":"shared function","functions":["update"]}]}],"children":[{"from":"CVE-2021-25956","to":"CVE-2021-37517","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htdocs/user/class/user.class.php"],"commits":["https://github.com/Dolibarr/dolibarr/commit/c4cba43bade736ab89e31013a6ccee59a6e077ee","https://github.com/Dolibarr/dolibarr/commit/b57eb8284e830e30eefb26e3c5ede076ea24037c"],"basis":"shared function","functions":["update"]}]}]}}