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

    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 ID SNYK-HEX-COHERENCE-1086567
  • published 18 Mar 2021
  • disclosed 2 Aug 2017
  • credit Griffin Byatt

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
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None