CVE-2023-34235 Leaking sensitive user information still possible by filtering on private with prefix fields
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
Strapi is an open-source headless content management system. Prior to version 4.10.8, it is possible to leak private fields if one is using the t(number) prefix. Knex query allows users to change the default prefix. For example, if someone changes the prefix to be the same as it was before or to another table they want to query, the query changes from password to t1.password. password is protected by filtering protections but t1.password is not protected. This can lead to filtering attacks on everything related to the object again, including admin passwords and reset-tokens. Version 4.10.8 fixes this issue.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| strapi @strapi/database(npm) | < 4.10.8; <= 4.10.7 | 4.10.8 | Fixed |
| strapi @strapi/strapi | < 4.10.8; = < 4.10.8 | 4.10.8 | Fixed |
| strapi @strapi/utils(npm) | < 4.10.8; <= 4.10.7 | 4.10.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strapi @strapi/database(npm) | <= 4.10.7 | No fix listed |
| strapi @strapi/utils(npm) | <= 4.10.7 | No fix listed |
| strapi @strapi/strapi | = < 4.10.8 | No fix listed |
| strapi @strapi/strapi | < 4.10.8 | 4.10.8 |
| strapi @strapi/database(npm) | < 4.10.8 | 4.10.8 |
| strapi @strapi/utils(npm) | < 4.10.8 | 4.10.8 |
References
- https://github.com/strapi/strapi/security/advisories/GHSA-9xg4-3qfm-9w8f exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/strapi/strapi/releases/tag/v4.10.8 release-notes
- github.com
- github.com product