Skip to content
SQL injection Advisory Intermediate CVE-2024-23118

Centreon updateContactHostCommands SQL Injection Remote Code Execution Vulnerability

The updateContactHostCommands function in Centreon fails to validate user-supplied input before using it in SQL queries, allowing an authenticated attacker to inject SQL and execute arbitrary code as the service account.

129cf345fa3dcf0fd346682161ba9a4f Follow

Originally disclosed on Zero Day Initiative

High 7.2 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Centreon. Authentication is required to exploit this vulnerability.

129cf345fa3dcf0fd346682161ba9a4f, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Impact

An authenticated attacker could execute arbitrary code with the privileges of the service account, potentially compromising the entire Centreon installation.

What the attacker needed

Authentication to Centreon

The fix

The vulnerability was fixed in Centreon-web versions 22.10.15, 23.04.10 and 23.10.1.

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 report has not been written yet. The Original tab links to the source.

This is a SQL injection flaw in a monitoring tool called Centreon. An attacker who can log in can trick the application into running their own database commands, which can lead to taking over the server. The problem is that the software does not check what the user types before putting it into a database query.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by 129cf345fa3dcf0fd346682161ba9a4f

View all

5 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.