CVE-2023-37263: @strapi/plugin content manager Strapi's Field Level Permissions Not Vulnerability

MODERATE
Advisory Identifier: GHSA-m284-85mf-cgrc
CVSS 6.8
CWE-400 CWE-200
Published
Advisory Summary

CVE-2023-37263 is a MODERATE (CVSS 6.8) strapi's field level permissions not vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting @strapi/plugin content manager libraries in the npm ecosystem. The issue involves strapi's field level permissions not being respected in relationship title. Remediation is available by upgrading affected packages to version 4.12.1.

CVE-2023-37263 at a Glance

CVE Identifier CVE-2023-37263
GHSA Identifier GHSA-m284-85mf-cgrc
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product @strapi/plugin content manager
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-37263

To remediate this vulnerability, upgrade all affected @strapi/plugin content manager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@strapi/plugin-content-manager fixed: 4.12.1
npm install @strapi/plugin-content-manager@4.12.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @strapi/plugin-content-manager

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2023-37263, inspect your project dependencies using npm:

npm ls @strapi/plugin-content-manager

Analyze the terminal output to locate any version of @strapi/plugin content manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.12.1), your application is affected.

Note: The npm ls @strapi/plugin-content-manager command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In @strapi/plugin content manager, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Field level permissions not being respected in relationship title. If I have a relationship title and the relationship shows a field I don't have permission to see I will still be visible. ### Details No RBAC checks on on the relationship the relation endpoint returns ### PoC #### Setup Create a fresh strapi instance Create a new content type in the newly created content type add a relation to the users-permissions user. Save. Create a users-permissions user Use your created content type and create an entry in it related to the users-permisisons user Go to settings -> Admin panel -> Roles -> Author Give the author role full permissions on the content type your created. Make sure they don't have any permission to see User Save Create a new admin account with only the author role #### CVE login on the newly created author acount. go to the content manager to the colection type you created with the relationship to users_permissions_user You now see a field you don't have permissions to view. ### Impact RBAC field level checks leaks data selected by the admin user as relationship title What could be sensitive fields that they should not be allowed to see. by the person having this specific role.

CVE-2023-37263 Affected @strapi/plugin content manager Versions

1 component(s)
Fixed Versions:
4.12.1
Product / Package Ecosystem Affected Versions Fixed Version
@strapi/plugin-content-manager
npm
< 4.12.1
4.12.1

References

Frequently Asked Questions

What is CVE-2023-37263?
CVE-2023-37263 is a security vulnerability in @strapi/plugin content manager involving Strapi's field level permissions not being respected in relationship title under CWE-400: Uncontrolled Resource Consumption.
Which @strapi/plugin content manager versions are affected?
Affected versions include releases prior to 4.12.1 across affected packages: @strapi/plugin-content-manager.
What version fixes CVE-2023-37263?
Upgrading to 4.12.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @strapi/plugin-content-manager affected?
Yes, @strapi/plugin-content-manager is affected in releases prior to 4.12.1. Upgrade your dependency to 4.12.1 or later.
What is the CVSS score of CVE-2023-37263?
CVE-2023-37263 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2023-37263?
CVE-2023-37263 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check npm dependencies for CVE-2023-37263?
Run the dependency tree command: 'npm ls @strapi/plugin-content-manager'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m284-85mf-cgrc",
  "modified" : "2023-09-13T16:31:43Z",
  "published" : "2023-09-13T16:31:43Z",
  "aliases" : [ "CVE-2023-37263" ],
  "summary" : "Strapi's field level permissions not being respected in relationship title",
  "details" : "### Summary\nField level permissions not being respected in relationship title.\nIf I have a  relationship title and the relationship shows a field I don't have permission to see I will still be visible.\n\n### Details\nNo RBAC checks on on the relationship the relation endpoint returns\n\n### PoC\n#### Setup\nCreate a fresh strapi instance\nCreate a new content type\nin the newly created content type add a relation to the users-permissions user.\nSave.\nCreate a users-permissions user\nUse your created  content type and create an entry in it related to the users-permisisons user\n\nGo to settings -> Admin panel -> Roles -> Author\nGive the author role full permissions on the content type your created.\nMake sure they don't have any permission to see User\nSave\n\nCreate a new admin account with only the author role\n#### CVE\nlogin on the newly created author acount.\ngo to the content manager to the colection type you created with the relationship to users_permissions_user\nYou now see a field you don't have permissions to view.\n\n### Impact\nRBAC field level checks leaks data selected by the admin user as relationship title\nWhat could be sensitive fields that they should not be allowed to see. by the person having this specific role.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@strapi/plugin-content-manager"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.12.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/strapi/strapi/security/advisories/GHSA-m284-85mf-cgrc"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37263"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/strapi/strapi"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/strapi/strapi/releases/tag/v4.12.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-400" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-13T16:31:43Z",
    "nvd_published_at" : "2023-09-15T19:15:08Z"
  }
}