Patchfirst
CVE-2024-49754 High · 7.5 EPSS 73.9%

LibreNMS has a stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/api-access.inc.php

Fix:upgrade librenms to 24.10.0 or later also fixes CVE-2022-3562, CVE-2022-4067, +2 Details ↓

librenms · librenms

Summary

LibreNMS contains a stored cross-site scripting flaw in the API-Access page (librenms/includes/html/pages/api-access.inc.php), where the "token" parameter is not sanitised when a new API token is created. An attacker with high-privilege authenticated access who can get another user to interact with the page (user interaction required) can inject arbitrary JavaScript that executes in other users' sessions, compromising their accounts and enabling unauthorised actions.

Official description · CVE.org

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.

Breakdown
25.1 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 15 Nov 2024. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

librenms librenms

Affected: < 24.10.0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: librenms/librenms.

Packagistlibrenms/librenmsGHSA-gfwr-xqmj-j27v

Upgrade to 24.10.0 or later

Fixes this CVE and 4 other known vulnerabilities in this package (CVE-2022-3562, CVE-2022-4067, +2).

Set the version to 24.10.0 or later in your composer.json.

The first fix for CVE-2024-49754.

Affected versions

If you runUpgrade to
All versions before 24.10.024.10.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close