GitHub Advisoryadvisory · Packagist

GHSA-fc38-2254-48g7 LibreNMS has Stored Cross-site Scripting vulnerability in "Device Group" Name

HIGH Published 2024-10-01 Modified 2024-10-01 Official page ↗
Aliases
CVE-2024-47524
Ecosystem
Packagist
Packages
librenms/librenms
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-79
Reviewed
2024-10-01

Affected packages

• Packagist librenms/librenms: < 24.9.0 → fixed in 24.9.0

Description

Summary The application fail to sanitising inputs properly and rendering the code from user input to browser which allow an attacker to execute malicious javascript code. Details User with Admin role can create a Device Groups, the application did not properly sanitize the user input in the Device Groups name, when user see the detail of the Device Group, if java script code is inside the name of the Device Groups, its will be trigger. PoC 1. Login as an Admin role user. Then go over to "$URL/device-groups" 2. Create a new Device Group with this payload in their name ```js ``` 3. Go over to the detail page of that Device Groups, in this case "$URL/devices/group=2". Will see a pop-up. Impact Attacker can use this to perform malicious java script code for malicious intent. This would impact all users as anyone can have access to the detail page of the device group.

Related

Alias · CVE (1)

  • CVE-2024-47524 LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References