First published: Wed Sep 13 2023(Updated: )
### Summary I can get access to user reset password tokens if I have the configure view permissions ![b37a6fd9eae06027e7d91266f1908a3d](https://user-images.githubusercontent.com/34578426/246782921-fbc007d3-ffec-45de-a1f1-a4287cd507ac.png) ![6c1da5b3bfbb3bca97c8d064be0ecb05](https://user-images.githubusercontent.com/34578426/246783044-7d716dde-6f27-4d01-9521-42720c6ce92e.gif) ### Details /content-manager/relations route does not remove private fields or ensure that they can't be selected ### PoC Install fresh strapi instance start up strapi and create an account create a new content-type give the content-type a relation with admin users and save go to Admin panel roles Author and then plugins. Enable for content-manager collection types the configure view In the collection time now only give them access to the collection you created for this. Create a new admin user account with the Author role Log out and request a password reset for the main admin user. Login on the newly created account go to the collection type you created for this test and click the create new entry button, click in the create new entry view on configure view. select the admin user relation we created click on resetPasswordToken Now go back to the create an entry view and when selection the relation we created we now see the reset tokken ### Impact Impact is that the none admin user now has the reset token of the admin users account and can resets its password using that to escalate his privilege's Still you need the configure view permission to be able to escalate your privilege's
Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Strapi Strapi | <4.11.7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-36472 is a vulnerability in Strapi, an open-source headless content management system, that allows unauthorized access to user reset password tokens if the attacker has configure view permissions.
CVE-2023-36472 has a severity score of 5.8, which is considered medium.
Versions up to and excluding 4.11.7 of @strapi/utils, @strapi/admin, @strapi/plugin-content-manager, and Strapi itself are affected by CVE-2023-36472.
To fix CVE-2023-36472, upgrade to version 4.11.7 of @strapi/utils, @strapi/admin, @strapi/plugin-content-manager, or Strapi, depending on the affected software.
You can find more information about CVE-2023-36472 at the following references: [GitHub advisory](https://github.com/strapi/strapi/security/advisories/GHSA-v8gg-4mq2-88q4), [GitHub release](https://github.com/strapi/strapi/releases/tag/v4.11.7), [Advisory GHSA-v8gg-4mq2-88q4](https://github.com/advisories/GHSA-v8gg-4mq2-88q4).