OpenNMS vulnerable to Cross-site Scripting
Date: 2023-08
Affected: maven/org.opennms:opennms-webapp
Attack vector: xss
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2023-0871
CVE-2023-40312
CWE: CWE-611
CWE-79
CVSS: 6.7 (CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N)

Multiple reflected XSS were found on different JSP files with unsanitized parameters in OpenNMS Horizon 31.0.8 and versions earlier than 32.0.2 on multiple platforms that an attacker can modify to craft a malicious XSS payload. The solution is to upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38 or Horizon 32.0.2 or newer. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet. OpenNMS thanks Jordi Miralles Comins for reporting this issue.


Mitigations:

Architectural layers (MAESTRO):