CVE-2024-23117 Centreon updateContactServiceCommands SQL Injection Remote Code Execution Vulnerability

High 7.2 Published Updated

Authenticated attackers can exploit SQL injection in Centreon to execute arbitrary code on the server.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-23117?

CVE-2024-23117 is a high-severity SQL injection vulnerability in Centreon Centreon Web, published on 1 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Centreon updateContactServiceCommands SQL Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Centreon. Authentication is required to exploit this vulnerability.

The specific flaw exists within the updateContactServiceCommands function. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-22297.

Weakness: CWE-89

Which versions are affected by CVE-2024-23117?

2 open source packages ship an affected version, including centreon/centreon. It affects 1 product.

PackageAffectedFixed in
centreon/centreon PackagistAll versions22.10.15
centreon/centreon PackagistAll versions22.10.15

Products include Centreon Centreon Web.

How do I fix CVE-2024-23117?

Upgrade centreon/centreon to 22.10.15 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-23117 being exploited?

There is no known exploitation of CVE-2024-23117 in the wild and no public exploit code.

All Centreon Centreon Web vulnerabilities

Sources

Also known as GHSA-j8hg-v5qv-9m28.

Is CVE-2024-23117 in your software?

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

Check your SBOMs for free