GitHub Advisoryadvisory · npm

GHSA-vgj7-895j-gpr6 Improper Removal of Sensitive Information Before Storage or Transfer in Strapi

HIGH Published 2022-05-20 Modified 2022-06-07 Official page ↗
Aliases
CVE-2022-30618
Ecosystem
npm
Packages
strapi, @strapi/strapi
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-212
Reviewed
2022-06-07

Affected packages

• npm strapi: >= 3.0.0, < 3.6.9 → fixed in 3.6.9 • npm @strapi/strapi: < 4.1.9 → fixed in 4.1.9

Description

An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for API users if content types accessible to the authenticated user contain relationships to API users (from:users-permissions). There are many scenarios in which such details from API users can leak in the JSON response within the admin panel, either through a direct or indirect relationship. Access to this information enables a user to compromise these users’ accounts if the password reset API endpoints have been enabled. In a worst-case scenario, a low-privileged user could get access to a high-privileged API account, and could read and modify any data as well as block access to both the admin panel and API by revoking privileges for all other users.

Related

Alias · CVE (1)

  • CVE-2022-30618 An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens,… vulnerability

Weakness · CWE (1)

  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer weakness

References