PT-2021-16861 · Opennms · Opennms Horizon+1
Published
2021-05-20
·
Updated
2021-05-26
·
CVE-2021-25931
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
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
OpenNMS Meridian versions meridian-foundation-2020.1.0-1 through meridian-foundation-2020.1.6-1
Description
The issue is related to a lack of CSRF protection at the
/opennms/admin/userGroupView/users/updateUser API endpoint. This flaw allows an attacker to assign the ROLE ADMIN security role to a normal user. An attacker can trick an admin user into assigning administrator privileges to a normal user by enticing them to click on an attacker-controlled website.Recommendations
For OpenNMS Horizon versions opennms-1-0-stable through opennms-27.1.0-1, update to a version that includes the fix for this issue.
For OpenNMS Meridian versions meridian-foundation-2015.1.0-1 through meridian-foundation-2019.1.18-1, update to a version that includes the fix for this issue.
For OpenNMS Meridian versions meridian-foundation-2020.1.0-1 through meridian-foundation-2020.1.6-1, update to a version that includes the fix for this issue.
As a temporary workaround, consider restricting access to the
/opennms/admin/userGroupView/users/updateUser API endpoint to minimize the risk of exploitation.Exploit
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Opennms Horizon
Opennms Meridian