CVE-2024-49754
PoC moderateStored XSS in LibreNMS API-Access page risks session hijack
LibreNMS, an open-source PHP/MySQL/SNMP network monitoring system, contains a stored cross-site scripting (XSS) flaw (CWE-79) in its API-Access page. An authenticated user with low privileges can embed arbitrary JavaScript in the token field when creating a new API token; the payload is saved and later executes in the browsers of other users who view that page, requiring user interaction to trigger. Successful exploitation runs attacker-supplied code in the context of other users' sessions, which can lead to account compromise and unauthorized actions within the monitoring platform. All LibreNMS deployments running versions prior to 24.10.0 are affected. The flaw is not yet in CISA's KEV catalog, but a public advisory exists and EPSS assigns a high 71.1% probability of exploitation within 30 days (99th percentile), indicating elevated near-term risk.
What to do: Upgrade to LibreNMS 24.10.0 or later. Until patched, restrict API token creation to trusted users and review existing tokens for unexpected or script-bearing values, removing or rotating any suspicious ones. Because injected scripts execute in other users' sessions, also review user activity logs for unexpected actions following recent token creation.
| librenms | all versions prior to 24.10.0 (fixed in 24.10.0) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Stored Cross-Site Scripting (XSS) vulnerability in the API-Access page allows authenticated users to inject arbitrary JavaScript through the "token" parameter when creating a new API token. This vulnerability can result in the execution of malicious code in the context of other users' sessions, compromising their accounts and enabling unauthorized actions. This vulnerability is fixed in 24.10.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 news0 stories
No ingested article mentions this CVE yet.