CVE-2024-23119
JSON

8.8high

Centreon insertGraphTemplate SQL Injection Remote Code Execution Vulnerability

Severity
8.8high CVSS:3.0 by zdi
Exploit likelihood
1.36% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi
Also known as
GHSA-626r-cj47-p49g

Description

Centreon insertGraphTemplate 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 insertGraphTemplate 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-22339.

Affected

Product or packageVersionsReported by
Centreon Centreon23.10.0CVE List
centreon/centreon (Packagist)before 22.10.15GitHub Advisory Database
centreon centreon_webbefore 22.04.19, from 22.10.2 before 22.10.17, from 23.04.0 before 23.04.13, from 23.10.0 before 23.10.5NVD

All scores

zdi8.8high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Centreon insertGraphTemplate 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 insertGraphTemplate 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-22339.

NVD (es)

Vulnerabilidad de ejecución remota de código de inyección SQL en Centreon insertGraphTemplate. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Centreon. Se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe dentro de la función insertGraphTemplate. El problema se debe a la falta de validación adecuada de una cadena proporcionada por el usuario antes de usarla para construir consultas SQL. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la cuenta de servicio. Era ZDI-CAN-22339.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-23119 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-626r-cj47-p49g changed 2024-04-02CC-BY-4.0
NVDCVE-2024-23119 changed 2026-06-17Public domain