Description
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.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/unix/http/dolibarr/cms_rce_cve_2023_30253msf undefined(cms_rce_cve_2023_30253) > show actions ...actions...msf undefined(cms_rce_cve_2023_30253) > set ACTION < action-name >msf undefined(cms_rce_cve_2023_30253) > show options ...show and set options...msf undefined(cms_rce_cve_2023_30253) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub