CVE-2023-37263: @strapi/plugin content manager Strapi's Field Level Permissions Not Vulnerability
MODERATECVE-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
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).
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.
npm install @strapi/plugin-content-manager@4.12.1
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
CVE-2023-37263 Affected @strapi/plugin content manager Versions
1 component(s)| 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?
Which @strapi/plugin content manager versions are affected?
What version fixes CVE-2023-37263?
Is @strapi/plugin-content-manager affected?
What is the CVSS score of CVE-2023-37263?
What CWE is associated with CVE-2023-37263?
How can I check npm dependencies for CVE-2023-37263?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}