CVE-2024-23118

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-23118
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-23118.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-23118
Aliases
Published
2024-04-01T22:15:14Z
Modified
2025-09-19T14:56:43.590537Z
Summary
[none]
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.

References

Affected packages

Git / github.com/centreon/centreon

Affected ranges

Type
GIT
Repo
https://github.com/centreon/centreon
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

centreon-awie-22.*

centreon-awie-22.04.0
centreon-awie-22.04.1
centreon-awie-22.04.2
centreon-awie-22.04.3

centreon-dsm-22.*

centreon-dsm-22.04.0
centreon-dsm-22.04.1
centreon-dsm-22.04.2

centreon-frontend-22.*

centreon-frontend-22.04.0
centreon-frontend-22.04.1

centreon-gorgone-22.*

centreon-gorgone-22.04.1
centreon-gorgone-22.04.2
centreon-gorgone-22.04.3
centreon-gorgone-22.04.4

centreon-ha-22.*

centreon-ha-22.04.0
centreon-ha-22.04.1
centreon-ha-22.04.2

centreon-open-tickets-22.*

centreon-open-tickets-22.04.0
centreon-open-tickets-22.04.1
centreon-open-tickets-22.04.2

centreon-web-22.*

centreon-web-22.04.10
centreon-web-22.04.11
centreon-web-22.04.12
centreon-web-22.04.13
centreon-web-22.04.14
centreon-web-22.04.15
centreon-web-22.04.16
centreon-web-22.04.17
centreon-web-22.04.18
centreon-web-22.04.7
centreon-web-22.04.8
centreon-web-22.04.9

centreon-widget-engine-status-22.*

centreon-widget-engine-status-22.04.0
centreon-widget-engine-status-22.04.1

centreon-widget-global-health-22.*

centreon-widget-global-health-22.04.0
centreon-widget-global-health-22.04.1

centreon-widget-graph-monitoring-22.*

centreon-widget-graph-monitoring-22.04.0
centreon-widget-graph-monitoring-22.04.1

centreon-widget-grid-map-22.*

centreon-widget-grid-map-22.04.0

centreon-widget-host-monitoring-22.*

centreon-widget-host-monitoring-22.04.0
centreon-widget-host-monitoring-22.04.1

centreon-widget-hostgroup-monitoring-22.*

centreon-widget-hostgroup-monitoring-22.04.0
centreon-widget-hostgroup-monitoring-22.04.1

centreon-widget-httploader-22.*

centreon-widget-httploader-22.04.0
centreon-widget-httploader-22.04.1

centreon-widget-live-top10-cpu-usage-22.*

centreon-widget-live-top10-cpu-usage-22.04.0
centreon-widget-live-top10-cpu-usage-22.04.1

centreon-widget-live-top10-memory-usage-22.*

centreon-widget-live-top10-memory-usage-22.04.0
centreon-widget-live-top10-memory-usage-22.04.1

centreon-widget-ntopng-listing-22.*

centreon-widget-ntopng-listing-22.04.0
centreon-widget-ntopng-listing-22.04.1

centreon-widget-service-monitoring-22.*

centreon-widget-service-monitoring-22.04.0
centreon-widget-service-monitoring-22.04.1
centreon-widget-service-monitoring-22.04.2

centreon-widget-servicegroup-monitoring-22.*

centreon-widget-servicegroup-monitoring-22.04.0
centreon-widget-servicegroup-monitoring-22.04.1
centreon-widget-servicegroup-monitoring-22.04.2

centreon-widget-single-metric-22.*

centreon-widget-single-metric-22.04.0
centreon-widget-single-metric-22.04.1

centreon-widget-tactical-overview-22.*

centreon-widget-tactical-overview-22.04.0
centreon-widget-tactical-overview-22.04.1

js-config-22.*

js-config-22.4.1
js-config-22.4.2
js-config-22.4.3
js-config-22.4.4
js-config-22.4.5
js-config-22.4.6

ui-22.*

ui-22.4.1
ui-22.4.2
ui-22.4.3
ui-22.4.4

ui-context-22.*

ui-context-22.4.1
ui-context-22.4.2
ui-context-22.4.3
ui-context-22.4.4