Advisory

GHSA-583x-23h9-f5w7

Also known as: CVE-2023-22893

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-04-19 18:33 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

@strapi/plugin-users-permissions

npm · All systems

Affected

  • introduced 3.2.1, fixed 4.6.0 (semver)

Fixed versions

4.6.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences