Vulnerability library
Security checkNovember 08, 2023

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): >= 3.2.1, < 4.6.0
  • Patched version(s): 4.6.0

References

Could your website be exposed too?

SmartScanner can check your website for Strapi does not verify the access or ID tokens issued during the OAuth flow and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 08, 2023