CVE-2024-0637 Centreon updateDirectory SQL Injection Remote Code Execution Vulnerability

High 8.8 Published Updated

Authenticated attackers can exploit SQL injection in Centreon to execute arbitrary code on the server.

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

What is CVE-2024-0637?

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

Official description

Centreon updateDirectory 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 updateDirectory 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-22294.

Weakness: CWE-89

Which versions are affected by CVE-2024-0637?

2 open source packages ship an affected version, including centreon/centreon. It affects 1 product.

PackageAffectedFixed in
centreon/centreon PackagistAll versions22.10.15
centreon/centreon PackagistAll versions22.10.15

Products include Centreon Centreon Web.

How do I fix CVE-2024-0637?

Upgrade centreon/centreon to 22.10.15 or later.

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-0637 being exploited?

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

All Centreon Centreon Web vulnerabilities

Sources

Also known as GHSA-22v7-v3mj-pm8r.

Is CVE-2024-0637 in your software?

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

Check your SBOMs for free