Vulnerability · Published Jul 25, 2023 · Assigned by GitHub_M
CVE-2023-34093Strapi allows actors to make all attributes on a content-type public without noticing it
Medium 4.8
In plain English
A medium-severity information exposure in strapi from strapi. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Strapi is an open-source headless content management system. Prior to version 4.10.8, anyone (Strapi developers, users, plugins) can make every attribute of a Content-Type public without knowing it. The vulnerability only affects the handling of content types by Strapi, not the actual content types themselves. Users can use plugins or modify their own content types without realizing that the `privateAttributes` getter is being removed, which can result in any attribute becoming public. This can lead to sensitive information being exposed or the entire system being taken control of by an attacker(having access to password hashes). Anyone can be impacted, depending on how people are using/extending content-types. If the users are mutating the content-type, they will not be affected. Version 4.10.8 contains a patch for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @strapi/database | 4.10.8 | GHSA-chmr-rg2f-9jmf |
| npm | @strapi/strapi | 4.10.8 | GHSA-chmr-rg2f-9jmf |
| npm | @strapi/utils | 4.10.8 | GHSA-chmr-rg2f-9jmf |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N
References
- https://github.com/strapi/strapi/security/advisories/GHSA-chmr-rg2f-9jmf x_refsource_CONFIRM
- https://github.com/strapi/strapi/commit/2fa8f30371bfd1db44c15e5747860ee5789096de x_refsource_MISC
- https://github.com/strapi/strapi/releases/tag/v4.10.8 x_refsource_MISC