Cross-site Request Forgery (CSRF) Affecting org.opennms:opennms-config package, versions [,27.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGOPENNMS-1296109
  • published21 May 2021
  • disclosed21 May 2021
  • creditUnknown

Introduced: 21 May 2021

CVE-2021-25931  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.opennms:opennms-config to version 27.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (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.

CVSS Scores

version 3.1