CVE-2023-5591 SQL Injection in librenms/librenms
An attacker can execute arbitrary SQL commands in LibreNMS, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-5591?
CVE-2023-5591 is a high-severity SQL injection vulnerability in Librenms Librenms, published on 16 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
SQL Injection in GitHub repository librenms/librenms prior to 23.10.0.
Weakness: CWE-89
Which versions are affected by CVE-2023-5591?
2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
librenms/librenms Packagist | All versions | 23.10.0 |
librenms/librenms Packagist | All versions | 23.10.0 |
Products include Librenms Librenms.
How do I fix CVE-2023-5591?
Upgrade librenms/librenms to 23.10.0 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-2023-5591 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5591 exists.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-mr6h-7x2m-rgmq.