CVE-2023-0872: Opennms webapp rest OpenNMS Privilege Elevation Vulnerability Vulnerability
HIGHCVE-2023-0872 is a HIGH (CVSS 8.2) opennms privilege elevation vulnerability vulnerability (CWE-269: Improper Privilege Management) affecting Opennms webapp rest libraries in the Maven ecosystem. The issue involves opennms privilege elevation vulnerability. Remediation is available by upgrading affected packages to version 32.0.2.
CVE-2023-0872 at a Glance
Security Impact
CVSS: 8.2
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:N/S:C/C:L/I:H/A:L).
How to Fix CVE-2023-0872
To remediate this vulnerability, upgrade all affected Opennms webapp rest dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.opennms</groupId>
<artifactId>opennms-webapp-rest</artifactId>
<version>32.0.2</version>
</dependency>
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-0872, 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 rest in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 32.0.2), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Opennms webapp rest, 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
CVE-2023-0872 Affected Opennms webapp rest Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.opennms:opennms-webapp-rest
|
Maven |
≥ 31.0.8
< 32.0.2
|
32.0.2
|
References
Frequently Asked Questions
What is CVE-2023-0872?
Which Opennms webapp rest versions are affected?
What version fixes CVE-2023-0872?
Is opennms-webapp-rest affected?
What is the CVSS score of CVE-2023-0872?
What CWE is associated with CVE-2023-0872?
How can I check Maven dependencies for CVE-2023-0872?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w5gq-xrrp-3fxf",
"modified" : "2023-08-21T19:33:09Z",
"published" : "2023-08-14T18:32:59Z",
"aliases" : [ "CVE-2023-0872" ],
"summary" : "OpenNMS privilege elevation vulnerability",
"details" : "The Horizon REST API includes a users endpoint in OpenNMS Horizon 31.0.8 and versions earlier than 32.0.2 on multiple platforms is vulnerable to elevation of privilege. 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.\n\nOpenNMS thanks Erik Wynter for reporting this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.opennms:opennms-webapp-rest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "31.0.8"
}, {
"fixed" : "32.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0872"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenNMS/opennms/pull/6354"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenNMS/opennms/commit/e59b0ddd164cf0598ac0294d11a2d677d9e310b8"
}, {
"type" : "WEB",
"url" : "https://docs.opennms.com/horizon/32/releasenotes/changelog.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenNMS/opennms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-14T21:12:00Z",
"nvd_published_at" : "2023-08-14T18:15:10Z"
}
}