CVE-2024-23115 Centreon updateGroups SQL Injection Remote Code Execution Vulnerability

High 7.2 Published Updated

Remote attackers with authentication can execute arbitrary code via SQL injection in the updateGroups function of Centreon.

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-23115?

CVE-2024-23115 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 updateGroups 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 updateGroups 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-22295.

Weakness: CWE-89

Which versions are affected by CVE-2024-23115?

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-23115?

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-23115 being exploited?

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

All Centreon Centreon Web vulnerabilities

Sources

Also known as GHSA-qjvm-p5vg-437c.

Is CVE-2024-23115 in your software?

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

Check your SBOMs for free