Skip to content

CVE-2023-34235 Leaking sensitive user information still possible by filtering on private with prefix fields

HighCVSS 7.5 EPSS 1.1%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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