CVE-2024-23116: Centreon updateLCARelation SQL Injection Remote Code Execution Vulnerability

centreon/centreon Updated 02 Oct 2025

Summary

02/04/2024
Yes i
High
7.2

CVE-2024-23116: Centreon updateLCARelation SQL Injection Remote Code Execution Vulnerability. Affects centreon/centreon versions < 22.10.15. Fixed in 22.10.15. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Centreon is a software package that provides comprehensive monitoring capabilities for IT infrastructure. It allows users to monitor various aspects of their systems, such as network devices, servers, and applications. Centreon is widely used in enterprise environments to ensure the availability and performance of critical IT resources. However, a vulnerability has been discovered in Centreon that allows remote attackers to execute arbitrary code on affected installations.

Vulnerability Detail

The vulnerability, identified as CVE-2024-23116, resides in the updateLCARelation function of Centreon. The flaw stems from the lack of proper validation of user-supplied input before using it to construct SQL queries. This oversight enables an attacker to inject malicious SQL code, leading to remote code execution. Exploiting this vulnerability requires authentication, but once successful, the attacker can execute arbitrary code within the context of the service account. The vulnerability has been assigned a CVSS score of 7.2, indicating a high severity level.

How To Fix

Minimum fixed version

22.10.15

This is the first release that contains the fix.

composer require centreon/centreon:22.10.15

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can implement strict input validation and sanitization mechanisms to mitigate the risk of SQL injection attacks. By carefully validating user-supplied input and using parameterized queries or prepared statements, it is possible to prevent the execution of malicious SQL code. Here is an example of how to use parameterized queries in PHP to mitigate SQL injection:

$statement = $pdo->prepare('SELECT * FROM users WHERE username = :username');
$statement->bindParam(':username', $username);
$statement->execute();
$result = $statement->fetch();

By using parameterized queries, the user-supplied input is treated as data rather than executable code, effectively neutralizing the SQL injection vulnerability.

Conclusion

The Centreon updateLCARelation SQL Injection Remote Code Execution Vulnerability poses a significant risk to affected installations. It allows remote attackers to execute arbitrary code within the context of the service account, potentially compromising the entire system. To mitigate this vulnerability, it is essential to update Centreon to version 22.10.15 or later and implement strict input validation mechanisms. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for centreon/centreon →

Share this vulnerability

FAQ

Centreon is a monitoring software package used to monitor IT infrastructure, including network devices, servers, and applications. It provides comprehensive monitoring capabilities to ensure the availability and performance of critical IT resources.

This vulnerability allows remote attackers to execute arbitrary code on affected Centreon installations. By exploiting the SQL injection flaw, an attacker can gain unauthorized access and potentially compromise the entire system. This can lead to unauthorized data access, data manipulation, or even complete system compromise.

Yes, authentication is required to exploit this vulnerability. However, once authenticated, an attacker can execute arbitrary code within the context of the service account, posing a significant risk to the affected Centreon installation.

The CVSS score assigned to this vulnerability is 7.2, indicating a high severity level. This score reflects the potential impact and exploitability of the vulnerability.

To mitigate the risk of this vulnerability, it is crucial to update the Centreon package to version 22.10.15 or later. Additionally, implementing strict input validation and sanitization mechanisms can help prevent SQL injection attacks. By carefully validating user-supplied input and using parameterized queries or prepared statements, the risk of SQL injection can be significantly reduced.

Related vulnerabilities

Recent vulnerabilities recorded for centreon/centreon.

How To Fix

Minimum fixed version

22.10.15

This is the first release that contains the fix.

composer require centreon/centreon:22.10.15

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback