Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2023-4197 BIT-dolibarr-2023-4197EUVD-2023-3025GHSA-r9cm-pw9j-3fpx

Dolibarr ERP CRM (<= 18.0.1) Improper Input Sanitization Authenticated RCE

Published Nov 1, 2023 · Updated Sep 5, 2024 · Assigned by STAR_Labs

Description

Improper input validation in Dolibarr ERP CRM <= v18.0.1 fails to strip certain PHP code from user-supplied input when creating a Website, allowing an attacker to inject and evaluate arbitrary PHP code.

Affected products

VendorProductAffectedFixed
Dolibarr Dolibarr ERP CRM ≤ 18.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS dolibarr No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • alienkeric/CVE-2023-4197 ★ 0 · May 25, 2024

    this is a simple script from CVE-2023-4197 that was little bit modified since because it didn't work at first time with broadlight machine from HTB which means that we have to modify the script a lit…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist dolibarr/dolibarr < 18.0.2 18.0.2 GHSA-r9cm-pw9j-3fpx

References