HIGH7.2
GHSA-7x8g-h246-gvx3
Dolibarr authenticated Remote Code Execution
Quick fix
GHSA-7x8g-h246-gvx3 — dolibarr/dolibarr: upgrade to the fixed version with the command below.
composer require dolibarr/dolibarr:^12.0.4Details
Dolibarr 12.0.3 is vulnerable to authenticated Remote Code Execution. An attacker who has the access the admin dashboard can manipulate the backup function by inserting a payload into the filename for the zipfilename_template parameter to admin/tools/dolibarr_export.php.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/dolibarr/dolibarr
Introduced in:
0Fixed in: 12.0.4Fix
composer require dolibarr/dolibarr:^12.0.4References
- https://nvd.nist.gov/vuln/detail/CVE-2020-35136[ADVISORY]
- https://github.com/Dolibarr/dolibarr/commit/4fcd3fe49332baab0e424225ad10b76b47ebcbac[WEB]
- https://github.com/Dolibarr/dolibarr[PACKAGE]
- https://github.com/Dolibarr/dolibarr/releases[WEB]
- https://sourceforge.net/projects/dolibarr[WEB]
- http://bilishim.com/2020/12/18/zero-hunting-2.html[WEB]
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"]}'