Access Restriction Bypass Affecting @strapi/strapi package, versions >=4.0.0-next.0 <4.5.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
12.02% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-STRAPISTRAPI-5457880
  • published23 Apr 2023
  • disclosed23 Apr 2023
  • creditghostccamm

Introduced: 23 Apr 2023

CVE-2023-22893  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade @strapi/strapi to version 4.5.6 or higher.

Overview

@strapi/strapi is an updated version of the old 'strapi', which is a free and open-source headless CMS delivering your content anywhere you need.

Affected versions of this package are vulnerable to Access Restriction Bypass due to missing verification of 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.

CVSS Scores

version 3.1