Auth bypass in Strapi
CVE-2024-56143
Strapi is an open-source headless content management system. In versions from 5.0.0 to before 5.5.2, the lookup operator provided by the document service does not properly sanitize query parameters for private fields. An attacker can access private fields, including admin passwords and reset tokens, by crafting queries with the lookup parameter. This vulnerability is fixed in 5.5.2.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 36.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Strapi — versions >= 5.0.0, < 5.5.2
Weakness classification (CWE)
References
- github.com/strapi/strapi/security/advisories/GHSA-495j-h493-42q2 (Exploit, Vendor Advisory)
- github.com/strapi/strapi/commit/0c6e0953ae1e62afae9329de7ae6d6a5e21b95b8 (Patch)