CVE-2022-40043 Centreon SQL Injection vulnerability via esc_name parameter
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.
| Package | Affected | Fixed in |
|---|---|---|
centreon/centreon Packagist | All versions | 21.04.16 |
centreon/centreon Packagist | All versions | 21.04.16 |
centreon/centreon Packagist | From 21.10.0 | 21.10.8 |
centreon/centreon Packagist | From 21.10.0 | 21.10.8 |
centreon/centreon Packagist | From 22.0.0 | 22.04.2 |
centreon/centreon Packagist | From 22.0.0 | 22.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.
Other vulnerabilities in Centreon Centreon
Sources
Also known as GHSA-25gv-wg6f-6frp.