Patchfirst
CVE-2023-22893 Public exploit High · 8.2 EPSS 4.1%

Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login…

Fix:upgrade plugin-users-permissions to 4.6.0 or later also fixes CVE-2023-22621 Details ↓

Summary

Strapi through 4.5.5 fails to verify access and ID tokens issued during the OAuth flow when AWS Cognito is used as the login provider. The flaw sits in the authentication handling for that Cognito login integration. A remote attacker with no privileges and no user interaction can forge an ID token signed with the "None" algorithm and use it to impersonate any user who authenticates through AWS Cognito.

Official description · CVE.org

Strapi through 4.5.5 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.

Breakdown
64.0 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 2 years after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+2 yrs

5 fixes in @strapi/plugin-users-permissions over 14 months. The latest fix listed for @strapi/plugin-users-permissions is 4.24.2.

Fixes in @strapi/plugin-users-permissionsnpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 4.5.6CVE-2023-2262119 Apr 2023
  2. 4.6.0CVE-2023-2289319 Apr 2023
  3. 4.12.1CVE-2023-3850715 Sep 2023
  4. 4.13.1CVE-2023-393456 Nov 2023
  5. 4.24.2CVE-2024-3406512 Jun 2024Latest listed

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: @strapi/plugin-users-permissions.

npm@strapi/plugin-users-permissionsGHSA-583x-23h9-f5w7

Upgrade to 4.6.0 or later

Fixes this CVE and 1 other known vulnerability in this package (CVE-2023-22621).

npmnpm install @strapi/plugin-users-permissions@4.6.0

The first fix for CVE-2023-22893.

Affected versions

If you runUpgrade to
3.2.1 up to 4.6.04.6.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close