NetSight
high7.5

CVE-2023-22893

Strapi does not verify the access or ID tokens issued during the OAuth flow

Impact

Strapi 3.2.1 until 4.6.0 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the 'None' type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication.

Affected packages

EcosystemPackageAffectedFixed in
npm@strapi/plugin-users-permissions>= 3.2.1, < 4.6.04.6.0

Affected products

VendorProductAffected versions
StrapiStrapi
from 3.0.0 before 4.6.0

Weakness classification

References