CVE-2023-36472
JSON

5.8medium

Strapi may leak sensitive user information, user reset password, tokens via content-manager views

Severity
5.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v8gg-4mq2-88q4

Description

Strapi is an open-source headless content management system. Prior to version 4.11.7, an unauthorized actor can get access to user reset password tokens if they have the configure view permissions. The `/content-manager/relations` route does not remove private fields or ensure that they can't be selected. This issue is fixed in version 4.11.7.

Affected

Product or packageVersionsReported by
strapi strapi< 4.11.7, before 4.11.7CVE List, NVD
@strapi/plugin-content-manager (npm)before 4.11.7GitHub Advisory Database
@strapi/admin (npm)before 4.11.7GitHub Advisory Database
@strapi/utils (npm)before 4.11.7GitHub Advisory Database

All scores

GitHub_M5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
GitHub5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
NVD5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-200

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Strapi is an open-source headless content management system. Prior to version 4.11.7, an unauthorized actor can get access to user reset password tokens if they have the configure view permissions. The `/content-manager/relations` route does not remove private fields or ensure that they can't be selected. This issue is fixed in version 4.11.7.

GitHub Advisory Database
Summary

I can get access to user reset password tokens if I have the configure view permissions b37a6fd9eae06027e7d91266f1908a3d 6c1da5b3bfbb3bca97c8d064be0ecb05

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

NVD (es)

Strapi es un sistema de gestión de contenidos headless de código abierto. Antes de la versión 4.11.7, un actor no autorizado puede obtener acceso a los tokens de restablecimiento de contraseña del usuario si tiene permisos de visualización de la configuración. La ruta `/content-manager/relations` no elimina campos privados ni garantiza que no se puedan seleccionar. Este problema se solucionó en la versión 4.11.7.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-36472 changed 2024-09-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-v8gg-4mq2-88q4 changed 2026-09-10CC-BY-4.0
NVDCVE-2023-36472 changed 2026-06-17Public domain