CVE-2023-0872: ROLE_REST can be used to escalate to ROLE_ADMIN via /rest/users
The Horizon REST API includes a users endpoint in OpenMNS 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.
OpenNMS thanks Erik Wynter for reporting this issue.
Other sources
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.
OpenNMS thanks Erik Wynter for reporting this issue.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2023-0872?
CVE-2023-0872 is a vulnerability in the Horizon REST API in OpenNMS Horizon 31.0.8 and earlier versions that allows for elevation of privilege.
How can the Horizon REST API in OpenNMS Horizon 31.0.8 and earlier be exploited?
The vulnerability in the Horizon REST API can be exploited to gain elevated privileges.
What is the severity of CVE-2023-0872?
CVE-2023-0872 has a severity rating of 8.2 (high).
How do I fix the Horizon REST API vulnerability (CVE-2023-0872)?
To fix the vulnerability, upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38, or Horizon 32.0.2 or newer versions.
Where can I find more information about CVE-2023-0872?
More information about CVE-2023-0872 can be found at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-0872), [GitHub](https://github.com/OpenNMS/opennms/pull/6354), [OpenNMS Docs](https://docs.opennms.com/horizon/32/releasenotes/changelog.html).