CVE-2021-37558 SQL injection in n/a

Critical 9.8 Published Updated

Remote unauthenticated attackers can execute arbitrary SQL commands in Centreon if a valid Knowledge Base URL is configured.

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

What is CVE-2021-37558?

CVE-2021-37558 is a critical SQL injection vulnerability in Centreon Centreon, published on 3 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A SQL injection vulnerability in a MediaWiki script in Centreon before 20.04.14, 20.10.8, and 21.04.2 allows remote unauthenticated attackers to execute arbitrary SQL commands via the host_name and service_description parameters. The vulnerability can be exploited only when a valid Knowledge Base URL is configured on the Knowledge Base configuration page and points to a MediaWiki instance. This relates to the proxy feature in class/centreon-knowledge/ProceduresProxy.class.php and include/configuration/configKnowledge/proxy/proxy.php.

Weakness: CWE-89

Which versions are affected by CVE-2021-37558?

It affects 1 product.

Products include Centreon Centreon.

How do I fix CVE-2021-37558?

No fix has been published for CVE-2021-37558 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-2021-37558 being exploited?

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

All Centreon Centreon vulnerabilities

Sources

Also known as GHSA-6v98-88gr-xr2r.

Is CVE-2021-37558 in your software?

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

Check your SBOMs for free