Advisory Details

February 9th, 2024

Centreon updateContactHostCommands SQL Injection Remote Code Execution Vulnerability

ZDI-24-114
ZDI-CAN-22298

CVE ID CVE-2024-23118
CVSS SCORE 7.2, AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Centreon
AFFECTED PRODUCTS Centreon
VULNERABILITY DETAILS

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 updateContactHostCommands 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.

ADDITIONAL DETAILS

Fixed in Centreon-web versions 22.10.15, 23.04.10 and 23.10.1
https://github.com/centreon/centreon/pull/2464


DISCLOSURE TIMELINE
  • 2023-11-28 - Vulnerability reported to vendor
  • 2024-02-09 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated
CREDIT 129cf345fa3dcf0fd346682161ba9a4f
BACK TO ADVISORIES