Description Preview
OpenNMS version 18.0.1 and prior are vulnerable to a stored XSS issue due to insufficient filtering of SNMP agent supplied data. By creating a malicious SNMP 'sysName' or 'sysContact' response, an attacker can store an XSS payload which will trigger when a user of the web UI views the data. This issue was fixed in version 18.0.2, released on September 20, 2016.
Overview
This vulnerability (CVE-2016-6556) affects OpenNMS, a network monitoring platform, in versions 18.0.1 and earlier. The vulnerability is categorized as a stored Cross-Site Scripting (XSS) issue (CWE-79). The root cause is insufficient validation and sanitization of data received from SNMP agents. An attacker can craft malicious SNMP 'sysName' or 'sysContact' responses that contain JavaScript code. When an administrator or user views the affected device information in the OpenNMS web interface, the malicious JavaScript executes in their browser context. This could lead to session hijacking, credential theft, or other client-side attacks against OpenNMS users with administrative privileges.
Remediation
To address this vulnerability, organizations should:
- Upgrade OpenNMS to version 18.0.2 or later, which includes fixes for this vulnerability.
- If immediate upgrading is not possible, consider implementing network-level controls to restrict access to SNMP services from untrusted sources.
- Monitor for suspicious SNMP traffic that might indicate exploitation attempts.
- Consider implementing a web application firewall (WAF) that can help mitigate XSS attacks as an additional layer of protection.
- Review the patch details in the referenced GitHub pull request to understand the specific changes made to address this vulnerability.
References
- Patch Information: https://github.com/OpenNMS/opennms/pull/1019
- Vulnerability Details and Exploit Information: https://www.rapid7.com/blog/post/2016/11/15/r7-2016-24-opennms-stored-xss-via-snmp-cve-2016-6555-cve-2016-6556/
- CVE Details: CVE-2016-6556
- CWE Reference: CWE-79 (Cross-site Scripting)
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- ManufacturingManufacturing
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade