CVE-2021-25954 Improper Access Control in “Dolibarr”
A low-privileged attacker can modify private notes in Dolibarr, bypassing administrative restrictions on the adherents note endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-25954?
CVE-2021-25954 is a medium-severity missing authorization vulnerability in dolibarr, published on 9 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In “Dolibarr” application, 2.8.1 to 13.0.4 don’t restrict or incorrectly restricts access to a resource from an unauthorized actor. A low privileged attacker can modify the Private Note which only an administrator has rights to do, the affected field is at “/adherents/note.php?id=1” endpoint.
Which versions are affected by CVE-2021-25954?
2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | From 2.8.1 | 14.0.0 |
dolibarr/dolibarr Packagist | From 2.8.1 | 14.0.0 |
Products include Dolibarr Dolibarr.
How do I fix CVE-2021-25954?
Upgrade dolibarr/dolibarr to 14.0.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-25954 being exploited?
There is no known exploitation of CVE-2021-25954 in the wild and no public exploit code.
Other vulnerabilities in dolibarr
- CVE-2019-19212 Dolibarr Cross-site Scripting via the qty parameter in product/fournisseurs.php
- CVE-2018-16809 Dolibarr SQL injection via the integer parameters qty and value_unit
- CVE-2018-10094 Dolibarr SQL injection vulnerability
- CVE-2018-9019 Dolibarr SQL Injection vulnerability
- CVE-2017-14238 Dolibarr SQL injection vulnerability in admin/menus/edit.php
Sources
Also known as GHSA-vxhc-c4qm-647p, UBUNTU-CVE-2021-25954.