CVE-2024-23117 Centreon updateContactServiceCommands SQL Injection Remote Code Execution Vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
centreon/centreon Packagist | All versions | 22.10.15 |
centreon/centreon Packagist | All versions | 22.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.
Other vulnerabilities in Centreon Centreon Web
Sources
Also known as GHSA-j8hg-v5qv-9m28.