CVE-2024-32479 LibreNMS's Improper Sanitization on Service template name leads to Stored XSS
An attacker can inject malicious scripts via service template names in LibreNMS, potentially leading to session hijacking or code execution.
- 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-2024-32479?
CVE-2024-32479 is a high-severity cross-site scripting vulnerability in Librenms Librenms, published on 22 Apr 2024. 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 open-source, PHP/MySQL/SNMP-based network monitoring system. Prior to version 24.4.0, there is improper sanitization on the `Service` template name, which can lead to stored Cross-site Scripting. Version 24.4.0 fixes this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2024-32479?
2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
librenms/librenms Packagist | All versions | 24.4.0 |
librenms/librenms Packagist | All versions | 24.4.0 |
Products include Librenms Librenms.
How do I fix CVE-2024-32479?
Upgrade librenms/librenms to 24.4.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-2024-32479 being exploited?
There is no known exploitation of CVE-2024-32479 in the wild and no public exploit code.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-72m9-7c8x-pmmw.