CVE-2023-34093 Strapi allows actors to make all attributes on a content-type public without noticing it
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| strapi @strapi/database(npm) | < 4.10.8 | 4.10.8 | Fixed |
| strapi @strapi/strapi | < 4.10.8; = < 4.10.8 | 4.10.8 | Fixed |
| strapi @strapi/strapi(npm) | < 4.10.8 | 4.10.8 | Fixed |
| strapi @strapi/utils(npm) | < 4.10.8 | 4.10.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strapi @strapi/strapi(npm) | < 4.10.8 | 4.10.8 |
| strapi @strapi/utils(npm) | < 4.10.8 | 4.10.8 |
| strapi @strapi/database(npm) | < 4.10.8 | 4.10.8 |
| strapi @strapi/strapi | = < 4.10.8 | No fix listed |
| strapi @strapi/strapi | < 4.10.8 | 4.10.8 |
References
- https://github.com/strapi/strapi/security/advisories/GHSA-chmr-rg2f-9jmf exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/strapi/strapi/commit/2fa8f30371bfd1db44c15e5747860ee5789096de patch
- https://github.com/strapi/strapi/releases/tag/v4.10.8 release-notes
- github.com
- github.com product