CVE-2021-25931
Last modified
CVE-2021-25931 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In OpenNMS Horizon, versions opennms-1-0-stable through opennms-27.1.0-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. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
Description
In OpenNMS Horizon, versions opennms-1-0-stable through opennms-27.1.0-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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Opennms | Horizon | >= 1.0, < 27.1.1 |
| Opennms | Meridian | >= 2015.1.0, < 2019.1.19 |
| Opennms | Meridian | >= 2020.1.0, < 2020.1.7 |
References
- https://github.com/OpenNMS/opennms/commit/607151ea8f90212a3fb37c977fa57c7d58d26a84Patch, Third Party Advisory
- https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98cPatch, Third Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25931Exploit, Third Party Advisory
- https://github.com/OpenNMS/opennms/commit/607151ea8f90212a3fb37c977fa57c7d58d26a84Patch, Third Party Advisory
- https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98cPatch, Third Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25931Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-25931?
How severe is CVE-2021-25931?
How do I fix CVE-2021-25931?
Are you affected by CVE-2021-25931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
