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


0.0
high
  • Attack Complexity

    Low

  • Confidentiality

    High

  • Integrity

    High

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

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.