Vulnerabilities/

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

Severity:
Medium

Description

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.

Recommendation

Update the @strapi/plugin-users-permissions package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@strapi/plugin-users-permissions
Anything's wrong? Let us know Last updated on November 08, 2023

This issue is available in SmartScanner Professional

See Pricing