CVE-2024-5723 Centreon updateServiceHost SQL Injection Remote Code Execution Vulnerability

High 8.8 Published Updated

Remote attackers with authentication can execute arbitrary code via SQL injection in the updateServiceHost function of Centreon.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5723?

CVE-2024-5723 is a high-severity SQL injection vulnerability in Centreon Centreon Web, published on 21 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Centreon updateServiceHost 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 updateServiceHost 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 apache user. Was ZDI-CAN-23294.

Weakness: CWE-89

Which versions are affected by CVE-2024-5723?

It affects 1 product.

Products include Centreon Centreon Web.

How do I fix CVE-2024-5723?

No fix has been published for CVE-2024-5723 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-5723 being exploited?

There is no known exploitation of CVE-2024-5723 in the wild and no public exploit code.

All Centreon Centreon Web vulnerabilities

Sources

Also known as GHSA-g6mm-5rjg-vwhr.

Is CVE-2024-5723 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free