CVE-2023-40027
published 2023-08-15CVE-2023-40027: Keystone is an open source headless CMS for Node.js — built with GraphQL and React. When `ui.isAccessAllowed` is set as `undefined`, the `adminMeta` GraphQL…
PriorityP426medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EPSS
0.47%
37.1th percentile
Keystone is an open source headless CMS for Node.js — built with GraphQL and React. When `ui.isAccessAllowed` is set as `undefined`, the `adminMeta` GraphQL query is publicly accessible (no session required). This is different to the behaviour of the default AdminUI middleware, which by default will only be publicly accessible (no session required) if a `session` strategy is not defined. This vulnerability does not affect developers using the `@keystone-6/auth` package, or any users that have written their own `ui.isAccessAllowed` (that is to say, `isAccessAllowed` is not `undefined`). This vulnerability does affect users who believed that their `session` strategy will, by default, enforce that `adminMeta` is inaccessible by the public in accordance with that strategy; akin to the behaviour of the AdminUI middleware. This vulnerability has been patched in `@keystone-6/core` version `5.5.1`. Users are advised to upgrade. Users unable to upgrade may opt to write their own `isAccessAllowed` functionality to work-around this vulnerability.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| keystone-6 | core | >= 0 < 5.5.1 | 5.5.1 |
| keystonejs | keystone | < 5.5.1 | 5.5.1 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible
ghsa·2023-08-15
CVE-2023-40027 [MEDIUM] CWE-862 When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible
When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible
### Summary
When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible, that is to say, no session is required for the query.
This is different to the behaviour of the default AdminUI middleware, which by default will only be publicly accessible if a `session` strategy is not defined.
### Impact
This vulnerability does not affect developers using the `@keystone-6/auth` package, or any users that have written their own `ui.isAccessAllowed` (that is to say, you are unaffected if `ui.isAccessAllowed` is defined).
This vulnerability does affect developers who thought that their `session` strategy will, by default, enforce that `adminMeta` is inaccessible by the
OSV
When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible
osv·2023-08-15
CVE-2023-40027 [MEDIUM] When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible
When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible
### Summary
When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible, that is to say, no session is required for the query.
This is different to the behaviour of the default AdminUI middleware, which by default will only be publicly accessible if a `session` strategy is not defined.
### Impact
This vulnerability does not affect developers using the `@keystone-6/auth` package, or any users that have written their own `ui.isAccessAllowed` (that is to say, you are unaffected if `ui.isAccessAllowed` is defined).
This vulnerability does affect developers who thought that their `session` strategy will, by default, enforce that `adminMeta` is inaccessible by the
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/keystonejs/keystone/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284https://github.com/keystonejs/keystone/pull/8771https://github.com/keystonejs/keystone/security/advisories/GHSA-9cvc-v7wm-992chttps://github.com/keystonejs/keystone/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284https://github.com/keystonejs/keystone/pull/8771https://github.com/keystonejs/keystone/security/advisories/GHSA-9cvc-v7wm-992c
2023-08-15
Published