
Cloud Vulnerability DB
A community-led vulnerabilities database
LibreNMS, an open-source PHP/MySQL/SNMP-based network monitoring system, was found to contain a Stored Cross-Site Scripting (XSS) vulnerability (CVE-2024-50350). The vulnerability was discovered in the "Port Settings" page, allowing authenticated users to inject arbitrary JavaScript through the "name" parameter when creating a new Port Group. This vulnerability was fixed in version 24.10.0 (NVD, GitHub Advisory).
The vulnerability exists in the EditPortsController.php file where insufficient sanitization of the "name" parameter allows for XSS payload injection. The vulnerable code is located in the sink at line 69: $port_group_options .= '' . $group->name . '';. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Medium) by NIST with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).
When exploited, this vulnerability allows the execution of malicious code when the "Port Settings" page is visited after the affected Port Group is added to a device. This can lead to the compromise of user sessions and enable unauthorized actions. The vulnerability affects the confidentiality and integrity of the system, potentially allowing attackers to perform actions on behalf of other users (GitHub Advisory).
The vulnerability has been fixed in LibreNMS version 24.10.0. The fix includes adding proper HTML encoding using htmlentities() function to prevent XSS attacks, as demonstrated in the patch commit (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."