Improper Input Validation Affecting coherence package, versions <0.5.2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.06% (26th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-HEX-COHERENCE-1086567
  • published18 Mar 2021
  • disclosed2 Aug 2017
  • creditGriffin Byatt

Introduced: 2 Aug 2017

CVE-2018-20301  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade coherence to version 0.5.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. A "mass assignment"-like vulnerability was discovered. In particular, registration endpoints (e.g., creating, editing, updating), allow users to update any coherence_fields. This means that, among other issues, users can automatically confirm their accounts by sending the confirmed_at parameter with their registration request. A malicious user, for example, could exploit this vulnerability to register a user and add assign it admin privileges.

CVSS Scores

version 3.1