librenms/librenms
Affected
- introduced
0, fixed24.10.0(ecosystem)
Fixed versions
24.10.0
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2024-49758
LibreNMS has a stored XSS in ExamplePlugin with Device's Notes
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 add Notes to a device, the application did not properly sanitize the user input, when the ExamplePlugin enable, if java script code is inside the device's Notes, its will be trigger.
PoC
<img src="x" onerror="alert(document.cookie)"> into the device NotesImpact
It could allow authenticated users to execute arbitrary JavaScript code in the context of other users' sessions.
Impacted users could have their accounts compromised, enabling the attacker to perform unauthorized actions on their behalf.
Medium Basis: The source's own band: MODERATE
0, fixed 24.10.0 (ecosystem)24.10.0
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0