{"id":"CVE-2023-0846","state":"PUBLISHED","title":"Unauthenticated, stored XSS in display of alarm reduction-key","description":"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\nshould upgrade to Meridian 2023.1.0 or newer, or Horizon 31.0.4. Meridian and\nHorizon installation instructions state that they are intended for installation\nwithin an organization's private networks and should not be directly accessible\nfrom the Internet.","publishedAt":"2023-02-22T18:35:19.051Z","updatedAt":"2024-08-02T05:24:34.302Z","severity":{"score":6.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"OpenNMS"},"assigner":"OpenNMS","products":["The OpenNMS Group  Horizon","The OpenNMS Group Meridian"],"affected":[{"vendor":"The OpenNMS Group ","product":"Horizon","defaultStatus":"unknown","versions":[{"version":"26.1.0","status":"affected","lessThan":"31.0.4","versionType":"git"}],"modules":["Alarm detail"],"platforms":["Windows","Linux","MacOS"],"repo":"https://github.com/OpenNMS"},{"vendor":"The OpenNMS Group","product":"Meridian","defaultStatus":"unaffected","versions":[{"version":"2020.1.0","status":"affected","lessThan":"2020.1.32","versionType":"git"},{"version":"2021.1.0","status":"affected","lessThan":"2021.1.24","versionType":"git"},{"version":"2022.1.0","status":"affected","lessThan":"2022.1.13","versionType":"git"},{"version":"2023.1.0","status":"unaffected"}],"modules":["Alarm detail"],"platforms":["Windows","MacOS","Linux"],"repo":"https://github.com/OpenNMS"}],"references":["https://github.com/OpenNMS/opennms/pull/5506/files","https://docs.opennms.com/meridian/2022/releasenotes/changelog.html#releasenotes-changelog-Meridian-2022.1.13"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/0xxx/CVE-2023-0846.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-0846","state":"PUBLISHED","datePublished":"2023-02-22T18:35:19.051Z","dateUpdated":"2024-08-02T05:24:34.302Z","assignerShortName":"OpenNMS","assignerOrgId":"70b007e9-5235-4ee5-90b5-a71a81beeda0","dateReserved":"2023-02-15T19:03:13.669Z"},"containers":{"cna":{"title":"Unauthenticated, stored XSS in display of alarm reduction-key","descriptions":[{"lang":"en","value":"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\nshould upgrade to Meridian 2023.1.0 or newer, or Horizon 31.0.4. Meridian and\nHorizon installation instructions state that they are intended for installation\nwithin an organization's private networks and should not be directly accessible\nfrom the Internet."}],"affected":[{"vendor":"The OpenNMS Group ","product":"Horizon","defaultStatus":"unknown","versions":[{"version":"26.1.0","status":"affected","lessThan":"31.0.4","versionType":"git"}],"modules":["Alarm detail"],"platforms":["Windows","Linux","MacOS"],"repo":"https://github.com/OpenNMS"},{"vendor":"The OpenNMS Group","product":"Meridian","defaultStatus":"unaffected","versions":[{"version":"2020.1.0","status":"affected","lessThan":"2020.1.32","versionType":"git"},{"version":"2021.1.0","status":"affected","lessThan":"2021.1.24","versionType":"git"},{"version":"2022.1.0","status":"affected","lessThan":"2022.1.13","versionType":"git"},{"version":"2023.1.0","status":"unaffected"}],"modules":["Alarm detail"],"platforms":["Windows","MacOS","Linux"],"repo":"https://github.com/OpenNMS"}],"references":[{"url":"https://github.com/OpenNMS/opennms/pull/5506/files"},{"url":"https://docs.opennms.com/meridian/2022/releasenotes/changelog.html#releasenotes-changelog-Meridian-2022.1.13"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":6.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"OpenNMS","orgId":"70b007e9-5235-4ee5-90b5-a71a81beeda0","dateUpdated":"2023-02-27T18:56:27.133Z"},"credits":[{"lang":"en","type":"reporter","user":"00000000-0000-4000-9000-000000000000","value":"Stefan Schiller (SonarSource)"}],"datePublic":"2023-02-15T21:55:00.000Z","solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/OpenNMS/opennms/pull/5506/files\"><br></a><span style=\"background-color: rgb(255, 255, 255);\">Upgrade to a newer version of Meridian or Horizon. Or change the details.jsp file as follows:&nbsp;</span><br><br><br>Change:&nbsp;<br>&lt;th class=\"col-md-1\"&gt;Reduction&amp;nbsp;Key&lt;/th&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=\"col-md-11\" colspan=\"3\"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;% if (alarm.getReductionKey() != null) {%&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;%=alarm.getReductionKey()%&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;% } else {%&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;% }%&gt;<br><br>To:<br>&lt;th class=\"col-md-1\"&gt;Reduction&amp;nbsp;Key&lt;/th&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=\"col-md-11\" colspan=\"3\"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;% if (alarm.getReductionKey() != null) {%&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;%=WebSecurityUtils.sanitizeString(alarm.getReductionKey())%&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;% } else {%&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;% }%&gt;<br><br><a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/OpenNMS/opennms/pull/5506/files\">https://github.com/OpenNMS/opennms/pull/5506/files<br></a><br>"}],"value":" \n 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: \n\n\nChange: \n<th class=\"col-md-1\">Reduction&nbsp;Key</th>\n        <td class=\"col-md-11\" colspan=\"3\">\n            <% if (alarm.getReductionKey() != null) {%>\n            <%=alarm.getReductionKey()%>\n            <% } else {%>\n            &nbsp;\n            <% }%>\n\nTo:\n<th class=\"col-md-1\">Reduction&nbsp;Key</th>\n        <td class=\"col-md-11\" colspan=\"3\">\n            <% if (alarm.getReductionKey() != null) {%>\n            <%=WebSecurityUtils.sanitizeString(alarm.getReductionKey())%>\n            <% } else {%>\n            &nbsp;\n            <% }%>\n\n https://github.com/OpenNMS/opennms/pull/5506/files\n https://github.com/OpenNMS/opennms/pull/5506/files \n"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/OpenNMS/opennms/pull/5506/files","tags":["x_transferred"]},{"url":"https://docs.opennms.com/meridian/2022/releasenotes/changelog.html#releasenotes-changelog-Meridian-2022.1.13","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T05:24:34.302Z"}}]}}}