CVE-2024-47524: LibreNMS has Stored Cross-site Scripting vulnerability in "Device Group" Name

Published Oct 1, 2024
·
Updated

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 <img src="x" onerror="alert(document.cookie)"> !image

3. Go over to the detail page of that Device Groups, in this case "$URL/devices/group=2". Will see a pop-up. !image

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.

Other sources

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. 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. This vulnerability is fixed in 24.9.0.

MITRE

Affected Software

2 affected componentsFixes available
composer/librenms/librenms<24.9.0
24.9.0
librenms librenms<24.9.0

Event History

Oct 1, 2024
CVE Published
via MITRE·08:30 PM
Data Sourced
via MITRE·08:30 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:31 PM
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-47524?

CVE-2024-47524 has a high severity rating due to improper input sanitization that can lead to execution of malicious JavaScript code.

2

How do I fix CVE-2024-47524?

To mitigate CVE-2024-47524, ensure that the application is updated to a version beyond 24.9.0 where the input sanitization has been properly implemented.

3

Who is affected by CVE-2024-47524?

Users with Admin roles in Librenms versions up to 24.9.0 are affected by CVE-2024-47524.

4

What type of attack is possible with CVE-2024-47524?

CVE-2024-47524 allows attackers to execute Cross-Site Scripting (XSS) attacks by injecting malicious scripts through unsanitized inputs.

5

Is there a workaround for CVE-2024-47524?

Currently, there is no known workaround for CVE-2024-47524; upgrading to a patched version is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203