CVE-2024-47524
LibreNMS has Stored Cross-site Scripting vulnerability in "Device Group" Name
描述
### 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)"> ```  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.
如何修補 CVE-2024-47524
要修補 CVE-2024-47524,請將受影響套件升級到下列已修補版本。
- —升級至 24.9.0 或更新版本
CVE-2024-47524 正在被利用嗎?
低 — EPSS 為 0.5%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 24.9.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|