CVE-2023-0846Unauthenticated, stored XSS in display of alarm reduction-key
Unauthenticated, stored cross-site scripting in the display of alarm reduction keys in multiple versions of OpenNMS Horizon and Meridian could allow an attacker access to confidential session information. Users should upgrade to Meridian 2023.1.0 or newer, or Horizon 31.0.4. 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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.opennms:opennms | Fixed | 31.0.3 | GHSA-79jr-8fhm-8wv3 |
What the vendor says
As published in the CVE record by OpenNMS, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The OpenNMS Group Horizon: affected: 26.1.0 to before 31.0.4; fixed in
31.0.4 - The OpenNMS Group Meridian: affected: 2020.1.0 to before 2020.1.32, 2021.1.0 to before 2021.1.24, 2022.1.0 to before 2022.1.13, 2023.1.0 not affected; fixed in
2020.1.32,2021.1.24,2022.1.13
Solution: https://github.com/OpenNMS/opennms/pull/5506/files Upgrade to a newer version of Meridian or Horizon. Or change the details.jsp file as follows: Change: <th class="col-md-1">Reduction Key</th> <td class="col-md-11" colspan="3"> <% if (alarm.getReductionKey() != null) {%> <%=alarm.getReductionKey()%> <% } else {%> <% }%> To: <th class="col-md-1">Reduction Key</th> <td class="col-md-11" colspan="3"> <% if (alarm.getReductionKey() != null) {%> <%=WebSecurityUtils.sanitizeString(alarm.getReductionKey())%> <% } else {%> <% }%> https://github.com/OpenNMS/opennms/pull/5506/files https://github.com/OpenNMS/opennms/pull/5506/files
References
- https://github.com/OpenNMS/opennms/pull/5506/files
- https://docs.opennms.com/meridian/2022/releasenotes/changelog.html#releasenotes-changelog-Meridian-2022.1.13
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.