Dolibarr ERP/CRM before 17.0.1 allows remote code execution by an authenticated user who has access to the Website module. The application filters lowercase `<?php` tags to prevent PHP code injection in website page content, but this check can be bypassed by using an uppercase variant such as `<?PHP`. This allows injecting arbitrary PHP code that is executed when the website page is rendered. Versions prior to 17.0.1 are known to be vulnerable. The vulnerability was fixed in version 17.0.1.
Vulnerability
CVE-2023-30253
Vulnerability details
- Score
- 8.8
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instead of <?php in injected data.
CVE ProgramExploit source choices
9 sourcesReverse Shell POC exploit for Dolibarr <= 17.0.0 (CVE-2023-30253), PHP Code Injection
In Dolibarr 17.0.0 with the CMS Website plugin (core) enabled, an authenticated attacker can obtain remote command execution via php code injection bypassing the application restrictions.
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instead of <?php in injected data.
An authenticated RCE exploit for Dolibarr ERP/CRM CVE-2023-30253.
I couldn’t find a PoC for CVE-2023-30253, so I developed an effective one
Poc for CVE-2023-30253
POC exploit for Dolibarr <= 17.0.0 (CVE-2023-30253)
Dolibarr 17.0.0 PHP Code Injection Exploit