CVE-2023-30253 Dolibarr vulnerable to remote code execution via uppercase manipulation

High 8.8 Published Updated

Authenticated attackers can execute arbitrary code by bypassing PHP tag filters using uppercase manipulation in Dolibarr.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-30253?

CVE-2023-30253 is a high-severity code injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 29 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instead of <?php in injected data.

Weakness: CWE-78

Which versions are affected by CVE-2023-30253?

3 open source packages ship an affected version, including dolibarr/dolibarr and dolibarr. It affects 1 product.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions17.0.1
dolibarr/dolibarr PackagistAll versions17.0.1
dolibarr BitnamiAll versions17.0.1

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2023-30253?

Upgrade dolibarr/dolibarr to 17.0.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-30253 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30253 exists.

Public exploit code: 1 Metasploit module and 9 proofs of concept on GitHub.

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2023-30253, GHSA-9wqr-5jp4-mjmh, UBUNTU-CVE-2023-30253.

Is CVE-2023-30253 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free