CVE-2021-3991 Improper Authorization in dolibarr/dolibarr

Medium 4.3 Published Updated

Attackers with restricted permissions can bypass authorization checks to access unauthorized reception details via direct URL access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-3991?

CVE-2021-3991 is a medium-severity missing authorization vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 15 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An Improper Authorization vulnerability exists in Dolibarr versions prior to the 'develop' branch. A user with restricted permissions in the 'Reception' section is able to access specific reception details via direct URL access, bypassing the intended permission restrictions.

Weakness: CWE-639, CWE-285

Which versions are affected by CVE-2021-3991?

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

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions15.0.0
dolibarr/dolibarr PackagistAll versions15.0.0
dolibarr BitnamiAll versions20.0.2

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2021-3991?

Upgrade dolibarr/dolibarr to 15.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-3991 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-3991 exists.

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2021-3991, GHSA-wppr-j57c-8jpm, UBUNTU-CVE-2021-3991.

Is CVE-2021-3991 in your software?

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

Check your SBOMs for free