Cross-Site Request Forgery in OpenNMS Horizon
In OpenNMS Horizon, versions opennms-1-0-stable through opennms-27.1.1; OpenNMS Meridian, versions meridian-foundation-2015.1.0-1 through meridian-foundation-2019.1.18-1; meridian-foundation-2020.1.0-1 through meridian-foundation-2020.1.6-1 are vulnerable to CSRF, due to no CSRF protection at /opennms/admin/userGroupView/users/updateUser. This flaw allows assigning ROLE_ADMIN security role to a normal user. Using this flaw, an attacker can trick the admin user to assign administrator privileges to a normal user by enticing him to click upon an attacker-controlled website.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.opennms:opennms | >= 1.0.0, < 27.1.1 | 27.1.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25931
- https://github.com/OpenNMS/opennms/commit/607151ea8f90212a3fb37c977fa57c7d58d26a84
- https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c
- https://github.com/OpenNMS/opennms
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25931
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-352- Platform
- Java / Kotlin (Maven)
- Package
org.opennms:opennms- Disclosed
- 25.05.2021
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2rq5-68hm-h4j8 - CC BY 4.0
Vulnerability history: org.opennms:opennms
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 9
- First → latest
- 05.2021 02.2023
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 7
Disclosures per year
- 2021: 4
- 2022: 2
- 2023: 3
- 2024: 0
- 2025: 0
- 2026: 0
-
Cross-Site Request Forgery in OpenNMS Horizon this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.