VDB
Sign up
HIGH7.2

GHSA-2j4g-v4fv-rhwg

Centreon updateContactHostCommands SQL Injection Remote Code Execution Vulnerability

Quick fix

GHSA-2j4g-v4fv-rhwg — centreon/centreon: upgrade to the fixed version with the command below.

composer require centreon/centreon:^22.10.15

Details

Centreon updateContactHostCommands 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 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. Was ZDI-CAN-22298.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/centreon/centreon
Introduced in: 0Fixed in: 22.10.15
Fixcomposer require centreon/centreon:^22.10.15

References