{"url":"http://public2.vulnerablecode.io/api/packages/165608?format=json","purl":"pkg:gem/pageflow@0.11.0","type":"gem","namespace":"","name":"pageflow","version":"0.11.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":null,"latest_non_vulnerable_version":null,"affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/51566?format=json","vulnerability_id":"VCID-3c6m-htse-u3g9","summary":"Pageflow vulnerable to sensitive user data extraction via Ransack query injection\n### Impact\n\nThe attack allows extracting sensitive properties of database objects that are\nassociated with users or entries belonging to an account that the attacker has access\nto.\n\nPageflow uses the `ActiveAdmin` Ruby library to provide some management features to\nits users. `ActiveAdmin` relies on the `Ransack` library to implement search\nfunctionality. In its default configuration, `Ransack` will allow for query conditions\nbased on properties of associated database objects [1]. The `*_starts_with`,\n`*_ends_with` or `*_contains` search matchers [2] can then be abused to exfiltrate\nsensitive string values of associated database objects via character-by-character\nbrute-force.\n\n[1] https://activerecord-hackery.github.io/ransack/going-further/associations/\n[2] https://activerecord-hackery.github.io/ransack/getting-started/search-matches/\n\n### Mitigation\n\nUpgrade to version 15.7.1 or 14.5.2 of the `pageflow` gem.","references":[{"reference_url":"https://github.com/codevise/pageflow","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/codevise/pageflow"},{"reference_url":"https://github.com/codevise/pageflow/pull/1862","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/codevise/pageflow/pull/1862"},{"reference_url":"https://github.com/codevise/pageflow/security/advisories/GHSA-wrrw-crp8-979q","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/codevise/pageflow/security/advisories/GHSA-wrrw-crp8-979q"},{"reference_url":"https://github.com/advisories/GHSA-wrrw-crp8-979q","reference_id":"GHSA-wrrw-crp8-979q","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-wrrw-crp8-979q"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/145713?format=json","purl":"pkg:gem/pageflow@14.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3c6m-htse-u3g9"},{"vulnerability":"VCID-m6w9-649a-yfap"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/pageflow@14.5.2"},{"url":"http://public2.vulnerablecode.io/api/packages/145714?format=json","purl":"pkg:gem/pageflow@15.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3c6m-htse-u3g9"},{"vulnerability":"VCID-m6w9-649a-yfap"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/pageflow@15.7.1"}],"aliases":["GHSA-wrrw-crp8-979q","GMS-2022-4208"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-3c6m-htse-u3g9"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/51565?format=json","vulnerability_id":"VCID-m6w9-649a-yfap","summary":"Pageflow vulnerable to insecure direct object reference in membership update endpoint\n### Impact\n\nPageflow has a membership edit feature which allows users to edit the roles of user\nmemberships associated with an account that they have the `manager` role to (including\ntheir own). While the `Entity` dropdown select field is greyed out in the UI, an attacker\ncan use tools which allow sending arbitrary HTTP request to craft a request to the\n`/admin/users/{user_id}/memberships/{membership_id}` endpoint containing an additional\n`membership[entity_id]` parameter. This parameter is honored when the membership is\nupdated, allowing an attacker to update the membership object associated with their own\naccount (with `manager` role) to be associated with a different attacker-chosen account\ninstead. Since `account_id`s are enumerable, an attacker can compromise all accounts\npresent on the platform.\n\n### Mitigation\n\nUpgrade to version 15.7.1 or 14.5.2 of the `pageflow` gem.","references":[{"reference_url":"https://github.com/codevise/pageflow","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/codevise/pageflow"},{"reference_url":"https://github.com/codevise/pageflow/pull/1862","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/codevise/pageflow/pull/1862"},{"reference_url":"https://github.com/codevise/pageflow/security/advisories/GHSA-qcqv-38jg-2r43","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/codevise/pageflow/security/advisories/GHSA-qcqv-38jg-2r43"},{"reference_url":"https://github.com/advisories/GHSA-qcqv-38jg-2r43","reference_id":"GHSA-qcqv-38jg-2r43","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-qcqv-38jg-2r43"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/145713?format=json","purl":"pkg:gem/pageflow@14.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3c6m-htse-u3g9"},{"vulnerability":"VCID-m6w9-649a-yfap"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/pageflow@14.5.2"},{"url":"http://public2.vulnerablecode.io/api/packages/145714?format=json","purl":"pkg:gem/pageflow@15.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3c6m-htse-u3g9"},{"vulnerability":"VCID-m6w9-649a-yfap"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/pageflow@15.7.1"}],"aliases":["GHSA-qcqv-38jg-2r43","GMS-2022-4207"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-m6w9-649a-yfap"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/pageflow@0.11.0"}