Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. dolibarr/dolibarr
  4. ›
  5. CVE-2021-33816

CVE-2021-33816: Improper Control of Generation of Code ('Code Injection')

November 10, 2021 (updated November 17, 2022)

The website builder module in Dolibarr allows remote PHP code execution because of an incomplete protection mechanism in which system, exec, and shell_exec are blocked but backticks are not blocked.

References

  • seclists.org/fulldisclosure/2021/Nov/39
  • nvd.nist.gov/vuln/detail/CVE-2021-33816
  • trovent.github.io/security-advisories/TRSA-2106-01/TRSA-2106-01.txt
  • trovent.io/security-advisory-2106-01

Code Behaviors & Features

Detect and mitigate CVE-2021-33816 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 13.0.2

Fixed versions

  • 13.0.3

Solution

Upgrade to version 13.0.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/dolibarr/dolibarr/CVE-2021-33816.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.