VDB
Sign up
HIGH8.8

GHSA-2gcp-xwxg-hqg3

Dolibarr Unrestricted Upload of File with Dangerous Type

Quick fix

GHSA-2gcp-xwxg-hqg3 — dolibarr/dolibarr: upgrade to the fixed version with the command below.

composer require dolibarr/dolibarr:^11.0.5

Details

Dolibarr before 11.0.5 allows low-privilege users to upload files of dangerous types, leading to arbitrary code execution. This occurs because .pht and .phar files can be uploaded. Also, a .htaccess file can be uploaded to reconfigure access control (e.g., to let .noexe files be executed as PHP code to defeat the .noexe protection mechanism).

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/dolibarr/dolibarr
Introduced in: 0Fixed in: 11.0.5
Fixcomposer require dolibarr/dolibarr:^11.0.5

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/dolibarr/dolibarr"]}'