CVE-2023-0870: Opennms webapp OpenNMS Meridian And Horizon Vulnerable Vulnerability

MODERATE
Advisory Identifier: GHSA-jxr6-7qg5-8wv6
CVSS 6.7
CWE-352
Published
Advisory Summary

CVE-2023-0870 is a MODERATE (CVSS 6.7) opennms meridian and horizon vulnerable vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Opennms webapp libraries in the Maven ecosystem. The issue involves opennms meridian and horizon vulnerable to cross-site request forgery. Remediation is available by upgrading affected packages to version 31.0.6.

CVE-2023-0870 at a Glance

CVE Identifier CVE-2023-0870
GHSA Identifier GHSA-jxr6-7qg5-8wv6
Severity MODERATE
CVSS v3.1 Base Score 6.7
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Opennms webapp
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N).

Attack Vector Adjacent (AV:A)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-0870

To remediate this vulnerability, upgrade all affected Opennms webapp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.opennms:opennms-webapp fixed: 31.0.6
<dependency>
    <groupId>org.opennms</groupId>
    <artifactId>opennms-webapp</artifactId>
    <version>31.0.6</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.opennms

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-0870, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.opennms

Analyze the terminal output to locate any version of Opennms webapp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 31.0.6), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.opennms command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Opennms webapp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A form can be manipulated with cross-site request forgery in multiple versions of OpenNMS Meridian and Horizon. This can potentially allow an attacker to gain access to confidential information and compromise integrity. The solution is to upgrade to Meridian 2023.1.1 or Horizon 31.0.6 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.

CVE-2023-0870 Affected Opennms webapp Versions

1 component(s)
Fixed Versions:
31.0.6
Product / Package Ecosystem Affected Versions Fixed Version
org.opennms:opennms-webapp
Maven
< 31.0.6
31.0.6

References

Frequently Asked Questions

What is CVE-2023-0870?
CVE-2023-0870 is a security vulnerability in Opennms webapp involving OpenNMS Meridian and Horizon vulnerable to Cross-Site Request Forgery under CWE-352: Cross-Site Request Forgery (CSRF).
Which Opennms webapp versions are affected?
Affected versions include releases prior to 31.0.6 across affected packages: org.opennms:opennms-webapp.
What version fixes CVE-2023-0870?
Upgrading to 31.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opennms-webapp affected?
Yes, org.opennms:opennms-webapp is affected in releases prior to 31.0.6. Upgrade your dependency to 31.0.6 or later.
What is the CVSS score of CVE-2023-0870?
CVE-2023-0870 has a CVSS v3.1 base score of 6.7 (MODERATE) with vector string CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2023-0870?
CVE-2023-0870 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Maven dependencies for CVE-2023-0870?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opennms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jxr6-7qg5-8wv6",
  "modified" : "2023-03-30T01:01:45Z",
  "published" : "2023-03-22T21:30:17Z",
  "aliases" : [ "CVE-2023-0870" ],
  "summary" : "OpenNMS Meridian and Horizon vulnerable to Cross-Site Request Forgery",
  "details" : "A form can be manipulated with cross-site request forgery in multiple versions of OpenNMS Meridian and Horizon. This can potentially allow an attacker to gain access to confidential information and compromise integrity. The solution is to upgrade to Meridian 2023.1.1 or Horizon 31.0.6 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opennms:opennms-webapp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "31.0.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0870"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OpenNMS/opennms/pull/5835/files"
  }, {
    "type" : "WEB",
    "url" : "https://docs.opennms.com/meridian/2023/releasenotes/changelog.html#releasenotes-changelog-Meridian-2023.1.1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OpenNMS/opennms"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-22T22:21:57Z",
    "nvd_published_at" : "2023-03-22T19:15:00Z"
  }
}