CVE-2023-0846 (GCVE-0-2023-0846)
Vulnerability from cvelistv5
Published
2023-02-22 18:35
Modified
2024-08-02 05:24
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Summary
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.
Impacted products
Vendor Product Version
The OpenNMS Group Horizon Version: 26.1.0
Create a notification for this product.
   The OpenNMS Group Meridian Version: 2020.1.0
Version: 2021.1.0
Version: 2022.1.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T05:24:34.302Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "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"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unknown",
          "modules": [
            "Alarm detail"
          ],
          "platforms": [
            "Windows",
            "Linux",
            "MacOS"
          ],
          "product": "Horizon",
          "repo": "https://github.com/OpenNMS",
          "vendor": "The OpenNMS Group ",
          "versions": [
            {
              "lessThan": "31.0.4",
              "status": "affected",
              "version": "26.1.0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "modules": [
            "Alarm detail"
          ],
          "platforms": [
            "Windows",
            "MacOS",
            "Linux"
          ],
          "product": "Meridian",
          "repo": "https://github.com/OpenNMS",
          "vendor": "The OpenNMS Group",
          "versions": [
            {
              "lessThan": "2020.1.32",
              "status": "affected",
              "version": "2020.1.0",
              "versionType": "git"
            },
            {
              "lessThan": "2021.1.24",
              "status": "affected",
              "version": "2021.1.0",
              "versionType": "git"
            },
            {
              "lessThan": "2022.1.13",
              "status": "affected",
              "version": "2022.1.0",
              "versionType": "git"
            },
            {
              "status": "unaffected",
              "version": "2023.1.0"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "user": "00000000-0000-4000-9000-000000000000",
          "value": "Stefan Schiller (SonarSource)"
        }
      ],
      "datePublic": "2023-02-15T21:55:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Unauthenticated, stored cross-site scripting in the display of alarm reduction keys\u0026nbsp;in multiple versions of OpenNMS Horizon and Meridian could allow an attacker access to confidential session information.\u0026nbsp;\u003cspan style=\"background-color: var(--wht);\"\u003eUsers\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\u0027s private networks and should not be directly accessible\nfrom the Internet.\u003c/span\u003e"
            }
          ],
          "value": "Unauthenticated, stored cross-site scripting in the display of alarm reduction keys\u00a0in multiple versions of OpenNMS Horizon and Meridian could allow an attacker access to confidential session information.\u00a0Users\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\u0027s private networks and should not be directly accessible\nfrom the Internet."
        }
      ],
      "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 (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-02-27T18:56:27.133Z",
        "orgId": "70b007e9-5235-4ee5-90b5-a71a81beeda0",
        "shortName": "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"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/OpenNMS/opennms/pull/5506/files\"\u003e\u003cbr\u003e\u003c/a\u003e\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003eUpgrade to a newer version of Meridian or Horizon. Or change the details.jsp file as follows:\u0026nbsp;\u003c/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eChange:\u0026nbsp;\u003cbr\u003e\u0026lt;th class=\"col-md-1\"\u0026gt;Reduction\u0026amp;nbsp;Key\u0026lt;/th\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;td class=\"col-md-11\" colspan=\"3\"\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;% if (alarm.getReductionKey() != null) {%\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;%=alarm.getReductionKey()%\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;% } else {%\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026amp;nbsp;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;% }%\u0026gt;\u003cbr\u003e\u003cbr\u003eTo:\u003cbr\u003e\u0026lt;th class=\"col-md-1\"\u0026gt;Reduction\u0026amp;nbsp;Key\u0026lt;/th\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;td class=\"col-md-11\" colspan=\"3\"\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;% if (alarm.getReductionKey() != null) {%\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;%=WebSecurityUtils.sanitizeString(alarm.getReductionKey())%\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;% } else {%\u0026gt;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026amp;nbsp;\u003cbr\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026lt;% }%\u0026gt;\u003cbr\u003e\u003cbr\u003e\u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/OpenNMS/opennms/pull/5506/files\"\u003ehttps://github.com/OpenNMS/opennms/pull/5506/files\u003cbr\u003e\u003c/a\u003e\u003cbr\u003e"
            }
          ],
          "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:\u00a0\n\n\nChange:\u00a0\n\u003cth class=\"col-md-1\"\u003eReduction\u0026nbsp;Key\u003c/th\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u003ctd class=\"col-md-11\" colspan=\"3\"\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c% if (alarm.getReductionKey() != null) {%\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c%=alarm.getReductionKey()%\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c% } else {%\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u0026nbsp;\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c% }%\u003e\n\nTo:\n\u003cth class=\"col-md-1\"\u003eReduction\u0026nbsp;Key\u003c/th\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u003ctd class=\"col-md-11\" colspan=\"3\"\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c% if (alarm.getReductionKey() != null) {%\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c%=WebSecurityUtils.sanitizeString(alarm.getReductionKey())%\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c% } else {%\u003e\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u0026nbsp;\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u003c% }%\u003e\n\n https://github.com/OpenNMS/opennms/pull/5506/files\n https://github.com/OpenNMS/opennms/pull/5506/files \n"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Unauthenticated, stored XSS in display of alarm reduction-key",
      "x_generator": {
        "engine": "Vulnogram 0.1.0-dev"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "70b007e9-5235-4ee5-90b5-a71a81beeda0",
    "assignerShortName": "OpenNMS",
    "cveId": "CVE-2023-0846",
    "datePublished": "2023-02-22T18:35:19.051Z",
    "dateReserved": "2023-02-15T19:03:13.669Z",
    "dateUpdated": "2024-08-02T05:24:34.302Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-0846\",\"sourceIdentifier\":\"security@opennms.com\",\"published\":\"2023-02-22T19:15:11.090\",\"lastModified\":\"2024-11-21T07:37:56.800\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Unauthenticated, stored cross-site scripting in the display of alarm reduction keys\u00a0in multiple versions of OpenNMS Horizon and Meridian could allow an attacker access to confidential session information.\u00a0Users\\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\u0027s private networks and should not be directly accessible\\nfrom the Internet.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@opennms.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N\",\"baseScore\":6.7,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.5,\"impactScore\":5.2},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":2.7}]},\"weaknesses\":[{\"source\":\"security@opennms.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:opennms:horizon:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"31.0.4\",\"matchCriteriaId\":\"9DC4EEF4-1204-4051-8E8E-7D3E69911D81\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:opennms:meridian:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"2023.1.0\",\"matchCriteriaId\":\"4FCCB664-CCB6-4D87-A2C4-9C216BAC38DB\"}]}]}],\"references\":[{\"url\":\"https://docs.opennms.com/meridian/2022/releasenotes/changelog.html#releasenotes-changelog-Meridian-2022.1.13\",\"source\":\"security@opennms.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://github.com/OpenNMS/opennms/pull/5506/files\",\"source\":\"security@opennms.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://docs.opennms.com/meridian/2022/releasenotes/changelog.html#releasenotes-changelog-Meridian-2022.1.13\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://github.com/OpenNMS/opennms/pull/5506/files\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…