CVE-2023-48295 Cross-site Scripting at Device groups Deletion feature in LibreNMS
An attacker can execute arbitrary scripts in the context of other users via the device group deletion feature in LibreNMS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-48295?
CVE-2023-48295 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 17 Nov 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems. Affected versions are subject to a cross site scripting (XSS) vulnerability in the device group popups. This issue has been addressed in commit `faf66035ea` which has been included in release version 23.11.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2023-48295?
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.11.0 |
librenms/librenms Packagist | All versions | 23.11.0 |
Products include Librenms Librenms.
How do I fix CVE-2023-48295?
Upgrade librenms/librenms to 23.11.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-48295 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-48295 exists.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-8phr-637g-pxrg.