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. Learn more

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 IDSNYK-RUBY-PAGEFLOW-3024400
  • published15 Sept 2022
  • disclosed15 Sept 2022
  • creditUnknown

Introduced: 15 Sep 2022

CVE NOT AVAILABLE CWE-639  (opens 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