CVE-2024-23119: Centreon insertGraphTemplate SQL Injection Remote Code Execution Vulnerability

centreon/centreon Updated 02 Oct 2025

Summary

02/04/2024
Yes i
High
8.8

CVE-2024-23119: Centreon insertGraphTemplate 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Centreon is a software package that provides comprehensive monitoring capabilities for IT infrastructure. It allows users to monitor various aspects of their systems, including network devices, servers, applications, and more. This vulnerability affects Centreon installations and can be exploited by remote attackers to execute arbitrary code. The vulnerability requires authentication to be exploited. The specific flaw exists within the insertGraphTemplate function, where user-supplied strings are not properly validated before being used in SQL queries. This allows an attacker to inject malicious code and execute it within the context of the service account. The vulnerability has a CVSS score of 8.8, indicating a high severity level.

Vulnerability Detail

The vulnerability in Centreon's insertGraphTemplate function arises from the lack of proper validation of user-supplied input. This allows an attacker to craft a malicious string that can be injected into SQL queries. By exploiting this vulnerability, an attacker can execute arbitrary code on the affected Centreon installation. This code will run with the privileges of the service account, potentially leading to further compromise of the system. The vulnerability has been assigned the identifier CVE-2024-23119 and is also tracked as GHSA-626r-cj47-p49g.

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 additional input validation and sanitization measures to mitigate the risk of SQL injection attacks. This can involve using prepared statements or parameterized queries to ensure that user input is properly handled and does not introduce vulnerabilities. Here is an example of using prepared statements in PHP to prevent SQL injection:

$stmt = $pdo->prepare('INSERT INTO graph_templates (name) VALUES (?)');
$stmt->execute([$userInput]);

Conclusion

In conclusion, the Centreon insertGraphTemplate function is vulnerable to SQL injection, allowing remote attackers to execute arbitrary code on affected installations. To mitigate this vulnerability, it is crucial to update Centreon to version 22.10.15 or later and implement proper authentication mechanisms. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for centreon/centreon →

Share this vulnerability

FAQ

Centreon is a software package that provides comprehensive monitoring capabilities for IT infrastructure. It allows users to monitor various aspects of their systems, including network devices, servers, applications, and more.

This vulnerability allows remote attackers to execute arbitrary code on affected Centreon installations. By exploiting the SQL injection vulnerability, an attacker can run code within the context of the service account, potentially leading to further compromise of the system.

To fix this vulnerability, it is recommended to update the Centreon package to version 22.10.15 or later. This version includes the necessary fixes to properly validate user input and prevent SQL injection attacks.

Yes, authentication is required to exploit this vulnerability. This means that an attacker would need valid credentials to access the Centreon system and exploit the SQL injection vulnerability.

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for centreon/centreon.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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