CVE-2023-40931 SQL injection in n/a
Authenticated attackers can execute arbitrary SQL commands via the ID parameter in Nagios XI, potentially accessing 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
- None listed
What is CVE-2023-40931?
CVE-2023-40931 is a medium-severity SQL injection vulnerability in Nagios Nagios Xi, published on 19 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A SQL injection vulnerability in Nagios XI from version 5.11.0 up to and including 5.11.1 allows authenticated attackers to execute arbitrary SQL commands via the ID parameter in the POST request to /nagiosxi/admin/banner_message-ajaxhelper.php
Weakness: CWE-89
Which versions are affected by CVE-2023-40931?
It affects 1 product.
Products include Nagios Nagios Xi.
How do I fix CVE-2023-40931?
No fix has been published for CVE-2023-40931 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-2023-40931 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40931 exists.
Public exploit code: 1 Nuclei template and 3 proofs of concept on GitHub.
Other vulnerabilities in Nagios Nagios Xi
Sources
Also known as GHSA-67j9-xc8r-7vqm.