ghsa-6j89-frxc-q26m
Vulnerability from github
Published
2024-06-12 19:38
Modified
2024-06-12 19:38
Severity ?
Summary
@strapi/plugin-content-manager leaks data via relations via the Admin Panel
Details
Summary
- If a super admin creates a collection where an item in the collection has an association to another collection, a user with the Author Role can see the list of associated items they did not create. They should only see their own items that they created, not all items ever created.
Details
At the top level every collection shows blank items for an Author if they did not create the item. This is ideal and works great. However if you associate one private collection to another private collection and an Author creates a new item. The pull down should not show the admins list of previously created items. It should be blank unitl they add their own items.
PoC
- Sign in as Admin. Navigate to content creation.
- Select a collection and verify you have items you created there. And that they have associations to other protected collections.
- Verify role permissions for your collections are set to CRUD if user created.
- Log out and sign in as a unrelated Author.
- Navigate to content management and verify you see collections built by admin but empty for you (as expected)
- Create a new item as an Author and see the card appear with attributes to fill out.
- Use the form pull down for the associations.
- Notice that protected collection items from Admin appear in drop down. These should be hidden
Impact
Security vulnerability where authors have access to protected data created by admin. This could be passwords emails or any other item created for the admin's collection.
See images below for more context
Permissions set
Good at top level no items seen
Drop down in Author login can see Admin data
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@strapi/plugin-content-manager" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.19.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-29181" ], "database_specific": { "cwe_ids": [ "CWE-639" ], "github_reviewed": true, "github_reviewed_at": "2024-06-12T19:38:01Z", "nvd_published_at": "2024-06-12T15:15:50Z", "severity": "LOW" }, "details": "### Summary\n1. If a super admin creates a collection where an item in the collection has an association to another collection, a user with the Author Role can see the list of associated items they did not create. They should only see their own items that they created, not all items ever created.\n\n### Details\nAt the top level every collection shows blank items for an Author if they did not create the item. This is ideal and works great. However if you associate one private collection to another private collection and an Author creates a new item. The pull down should not show the admins list of previously created items. It should be blank unitl they add their own items.\n\n### PoC\n1. Sign in as Admin. Navigate to content creation.\n2. Select a collection and verify you have items you created there. And that they have associations to other protected collections.\n3. Verify role permissions for your collections are set to CRUD if user created.\n4. Log out and sign in as a unrelated Author.\n5. Navigate to content management and verify you see collections built by admin but empty for you (as expected)\n6. Create a new item as an Author and see the card appear with attributes to fill out.\n7. Use the form pull down for the associations.\n8. Notice that protected collection items from Admin appear in drop down. These should be hidden\n\n### Impact\nSecurity vulnerability where authors have access to protected data created by admin. This could be passwords emails or any other item created for the admin\u0027s collection. \n\nSee images below for more context\n\nPermissions set\n![image](https://user-images.githubusercontent.com/364910/265132222-66e85726-5e01-4ad3-901a-809270a7f11b.png)\n\nGood at top level no items seen\n![image](https://user-images.githubusercontent.com/364910/265132292-d63fa6df-f32d-48a3-80d0-48a651c570a8.png)\n\nDrop down in Author login can see Admin data\n![image](https://user-images.githubusercontent.com/364910/265132393-8105bae2-b45c-4327-b1c6-da093557e64f.png)\n", "id": "GHSA-6j89-frxc-q26m", "modified": "2024-06-12T19:38:02Z", "published": "2024-06-12T19:38:01Z", "references": [ { "type": "WEB", "url": "https://github.com/strapi/strapi/security/advisories/GHSA-6j89-frxc-q26m" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-29181" }, { "type": "WEB", "url": "https://github.com/strapi/strapi/commit/e1dfd4d9f1cab25cf6da3614c1975e4e508e01c6" }, { "type": "PACKAGE", "url": "https://github.com/strapi/strapi" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "@strapi/plugin-content-manager leaks data via relations via the Admin Panel" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.