Strapi may leak sensitive user information, user reset password, tokens via content-manager views
Summary
I can get access to user reset password tokens if I have the configure view permissions

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
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka npm | @strapi/admin | < 4.11.7 | 4.11.7 |
| Paczka npm | @strapi/plugin-content-manager | < 4.11.7 | 4.11.7 |
| Paczka npm | @strapi/utils | < 4.11.7 | 4.11.7 |
Odnośniki
- Wektor CVSS
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N- Słabość (CWE)
CWE-200- Platforma
- npm
- Paczka
@strapi/admin, @strapi/plugin-content-manager, @strapi/utils- Ujawniono
- 13.09.2023
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-v8gg-4mq2-88q4 - CC BY 4.0
Historia podatności: @strapi/plugin-content-manager
Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 3
- Pierwsza → ostatnia
- 09.2023 06.2024
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Średnia 2
- Niska 1
Ujawnienia w latach
- 2023: 2
- 2024: 1
- 2025: 0
- 2026: 0
-
Strapi may leak sensitive user information, user reset password, tokens via content-manager views ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.