Vulnerabilities · 2021 · Opennms
CVE-2021-25931
Opennms Horizon vulnerability
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.
Affected products
Horizon, Meridian. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Opennms Horizon runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/OpenNMS/opennms/commit/607151ea8f90212a3fb37c977fa57c7d58d26a84 · Patch
- github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c · Patch
- www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25931 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-25931
- github.com/advisories/GHSA-2rq5-68hm-h4j8
- nvd.nist.gov/vuln/detail/CVE-2021-25931
- cve.org/CVERecord?id=CVE-2021-25931
More vulnerabilities in Opennms products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.