Publish Advisories

GHSA-7f84-28qh-9486
GHSA-fc38-2254-48g7
GHSA-gcgp-q2jq-fw52
GHSA-j2j9-7pr6-xqwv
GHSA-rwwc-2v8q-gc9v
This commit is contained in:
advisory-database[bot]
2024-10-01 20:32:17 +00:00
parent ec0d8f36e5
commit b422d665aa
5 changed files with 345 additions and 0 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,65 @@
{
"schema_version": "1.4.0",
"id": "GHSA-fc38-2254-48g7",
"modified": "2024-10-01T20:31:17Z",
"published": "2024-10-01T20:31:17Z",
"aliases": [
"CVE-2024-47524"
],
"summary": "LibreNMS has Stored Cross-site Scripting vulnerability in \"Device Group\" Name",
"details": "### Summary\nThe application fail to sanitising inputs properly and rendering the code from user input to browser which allow an attacker to execute malicious javascript code.\n\n### Details\nUser 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.\n\n### PoC\n1. Login as an Admin role user. Then go over to \"$URL/device-groups\"\n\n2. Create a new Device Group with this payload in their name\n```js\n<img src=\"x\" onerror=\"alert(document.cookie)\">\n```\n![image](https://github.com/user-attachments/assets/2764b313-ee65-47e9-ab57-559d75f4575c)\n\n3. Go over to the detail page of that Device Groups, in this case \"$URL/devices/group=2\". Will see a pop-up.\n![image](https://github.com/user-attachments/assets/f743ca74-5dcb-4e72-ac56-dda2b42e2986)\n\n### Impact\nAttacker can use this to perform malicious java script code for malicious intent.\nThis would impact all users as anyone can have access to the detail page of the device group.\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "librenms/librenms"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "24.9.0"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/librenms/librenms/security/advisories/GHSA-fc38-2254-48g7"
},
{
"type": "WEB",
"url": "https://github.com/librenms/librenms/commit/d3b51560a8e2343e520d16e9adc72c6951aa91ee"
},
{
"type": "PACKAGE",
"url": "https://github.com/librenms/librenms"
}
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-10-01T20:31:17Z",
"nvd_published_at": null
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long