ZeroHour

CVE-2024-47525

PoC moderate

Stored XSS in LibreNMS Alert Rules lets authenticated users hijack sessions

CVSS 3.1
5.4 medium
EPSS
30%p98
Published
()
Modified
AI analysis

LibreNMS, an open-source PHP/MySQL/SNMP-based network monitoring system, contains a stored cross-site scripting (XSS) flaw (CWE-79) in its Alert Rules feature. An authenticated user can inject arbitrary JavaScript into the 'Title' field of an alert rule; the script then executes in the browsers of other users who view that rule, running in the context of their sessions. Successful exploitation can compromise other users' accounts and enable unauthorized actions within LibreNMS, though the network vector requires low privileges and user interaction (CVSS 3.1: 5.4, Scope: Changed). All LibreNMS deployments running versions before 24.9.0 are affected, with internet-exposed instances facing the greatest risk from lower-privileged or malicious insiders and compromised accounts. As of now there is no CISA KEV listing, but one public reference (the GitHub security advisory GHSA-j2j9-7pr6-xqwv) documents the issue, and EPSS assigns a relatively high 29.6% probability of exploitation within 30 days.

What to do: Upgrade LibreNMS to 24.9.0 or later, which fixes the issue. Until then, restrict creation and editing of Alert Rules to trusted administrator accounts, review existing alert rule titles for injected HTML/JavaScript, and consider sanitizing the Title field at the web application firewall or reverse-proxy layer for internet-exposed instances.

Affected
LibreNMSall versions prior to 24.9.0 (fixed in 24.9.0)
Estimated exposure
moderatelikely on the order of tens of thousands of self-hosted instances, of which only thousands are internet-exposed — LibreNMS is a widely adopted open-source network monitor typically deployed as self-hosted instances by organizations, with internet-wide scans showing thousands of publicly reachable panels; practical exposure is further limited because…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Stored Cross-Site Scripting (XSS) vulnerability in the "Alert Rules" feature allows authenticated users to inject arbitrary JavaScript through the "Title" field. This vulnerability can lead to the execution of malicious code in the context of other users' sessions, potentially compromising their accounts and allowing unauthorized actions. This vulnerability is fixed in 24.9.0.

Vendors
librenms
Products
librenms
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

In the news

No ingested article mentions this CVE yet.