Skip to content
RCE Write-up Intermediate

(CVE-2023-4197) Dolibarr ERP CRM (<= 18.0.1) Improper Input Sanitization Authenticated RCE

Dolibarr ERP CRM up to version 18.0.1 has improper input validation that allows an authenticated user to achieve remote code execution. An attacker with a valid account could run commands on the server.

starlabs.sg

Published on starlabs.sg

Dolibarr ERP CRM is a web-based software that provides management for the target organization’s activities, such as contacts, suppliers, invoices, orders, stocks, agenda, etc. It is an open-source software suite designed for small, medium or large companies, foundations and freelancers.

The author, on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An authenticated attacker could execute arbitrary commands on the server, leading to full compromise of confidentiality, integrity and availability.

What the attacker needed

A valid authenticated account

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Input validation means checking that data a user sends is safe before using it. Here the software failed to do that, so someone with a normal login could make the server run their own commands. That is called remote code execution, and it can let an attacker take over the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.