Description
The AWS Cognito authentication provider in Strapi versions 4.5.1 and earlier fails to properly verify JWT signature tokens during the authentication process. This critical flaw allows attackers to forge authentication tokens and bypass the login mechanism entirely, gaining unauthorized access to the application without valid credentials.
Remediation
Upgrade Strapi to version 4.5.6 or later, which includes proper JWT signature verification for the AWS Cognito provider. Review the official Strapi security disclosure for complete details on affected versions. After upgrading, verify that authentication is functioning correctly and audit system logs for any suspicious authentication attempts that may have occurred prior to patching. If immediate upgrading is not possible, consider temporarily disabling the AWS Cognito authentication provider until the patch can be applied.
References
Security Disclosure of Vulnerabilities: CVE-2023-22893, CVE-2023-22621, and CVE-2023-22894
Multiple Critical Vulnerabilities in Strapi Versions <=4.7.1
Related Vulnerabilities
MyBB Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2015-2334)
WordPress Plugin Batch Cat Security Bypass (0.3)
Oracle Database Server Other Vulnerability (CVE-2001-0831)
Drupal Core 8.x Security Bypass (8.0.0 - 8.5.5)
Serendipity Server-Side Request Forgery (SSRF) Vulnerability (CVE-2016-9752)