CVE-2021-25954 Improper Access Control in “Dolibarr”

Medium 4.3 Published Updated

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.

Weakness: CWE-863, CWE-284

Which versions are affected by CVE-2021-25954?

2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.

PackageAffectedFixed in
dolibarr/dolibarr PackagistFrom 2.8.114.0.0
dolibarr/dolibarr PackagistFrom 2.8.114.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.

Sources

Also known as GHSA-vxhc-c4qm-647p, UBUNTU-CVE-2021-25954.

Is CVE-2021-25954 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free