Skip to content

OpenNMS privilege escalation vulnerability

Moderate severity GitHub Reviewed Published Aug 17, 2023 to the GitHub Advisory Database • Updated Oct 28, 2024

Package

maven org.opennms:opennms-webapp-rest (Maven)

Affected versions

>= 31.0.8, < 32.0.2

Patched versions

32.0.2

Description

In OpenNMS Horizon 31.0.8 and versions earlier than 32.0.2 and related Meridian versions, any user that has the ROLE_FILESYSTEM_EDITOR can easily escalate their privileges to ROLE_ADMIN or any other role. The solution is to upgrade to Meridian 2023.1.5 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. OpenNMS thanks Erik Wynter for reporting this issue.

References

Published by the National Vulnerability Database Aug 17, 2023
Published to the GitHub Advisory Database Aug 17, 2023
Reviewed Aug 18, 2023
Last updated Oct 28, 2024

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Adjacent
Attack complexity
High
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L

EPSS score

0.043%
(11th percentile)

Weaknesses

CVE ID

CVE-2023-40315

GHSA ID

GHSA-hf5p-f83x-5q2g

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.