Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. pageflow
  4. ›
  5. GMS-2022-4207

GMS-2022-4207: Pageflow vulnerable to insecure direct object reference in membership update endpoint

September 15, 2022

Pageflow has a membership edit feature which allows users to edit the roles of user memberships associated with an account that they have the manager role to (including their own). While the Entity dropdown select field is greyed out in the UI, an attacker can use tools which allow sending arbitrary HTTP request to craft a request to the /admin/users/{user_id}/memberships/{membership_id} endpoint containing an additional membership[entity_id] parameter. This parameter is honored when the membership is updated, allowing an attacker to update the membership object associated with their own 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.

References

  • github.com/advisories/GHSA-qcqv-38jg-2r43
  • github.com/codevise/pageflow/pull/1862
  • github.com/codevise/pageflow/security/advisories/GHSA-qcqv-38jg-2r43

Code Behaviors & Features

Detect and mitigate GMS-2022-4207 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 14.5.2, all versions starting from 15.0.0 before 15.7.1

Fixed versions

  • 14.5.2
  • 15.7.1

Solution

Upgrade to versions 14.5.2, 15.7.1 or above.

Source file

gem/pageflow/GMS-2022-4207.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:25 +0000.