CVE-2022-40043 Centreon SQL Injection vulnerability via esc_name parameter

High 8.8 Published Updated

Attackers can execute arbitrary SQL commands via the esc_name parameter in Centreon, potentially reading or modifying database contents.

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-2022-40043?

CVE-2022-40043 is a high-severity SQL injection vulnerability in Centreon Centreon, published on 26 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Centreon v20.10.18 was discovered to contain a SQL injection vulnerability via the esc_name (Escalation Name) parameter at Configuration/Notifications/Escalations.

Weakness: CWE-89

Which versions are affected by CVE-2022-40043?

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

PackageAffectedFixed in
centreon/centreon PackagistAll versions21.04.16
centreon/centreon PackagistAll versions21.04.16
centreon/centreon PackagistFrom 21.10.021.10.8
centreon/centreon PackagistFrom 21.10.021.10.8
centreon/centreon PackagistFrom 22.0.022.04.2
centreon/centreon PackagistFrom 22.0.022.04.2

Products include Centreon Centreon.

How do I fix CVE-2022-40043?

Upgrade centreon/centreon to a fixed version for your release line: 21.04.16, 21.10.8 or 22.04.2.

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-2022-40043 being exploited?

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

All Centreon Centreon vulnerabilities

Sources

Also known as GHSA-25gv-wg6f-6frp.

Is CVE-2022-40043 in your software?

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

Check your SBOMs for free