Authorization Bypass Through User-Controlled Key Affecting pageflow package, versions <14.5.2 >=15.0.0, <15.7.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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-RUBY-PAGEFLOW-3024400
  • published 15 Sep 2022
  • disclosed 15 Sep 2022
  • credit Unknown

Introduced: 15 Sep 2022

CVE NOT AVAILABLE CWE-639 Open this link in a new tab

How to fix?

Upgrade pageflow to version 14.5.2, 15.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via a crafted request sent to the /admin/users/{user_id}/memberships/{membership_id} endpoint containing an additional membership[entity_id] parameter. This will allow an attacker to update the membership object associated with their account (with manager role) to be associated with a different attacker-chosen account instead. Since account_ids are enumerable, an attacker can compromise all accounts present on the platform.

CVSS Scores

version 3.1
Expand this section

Snyk

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