Description
A vulnerability was detected in nocobase up to 1.9.4/2.0.0-alpha.37. The affected element is an unknown function of the file nocobase\packages\core\auth\src\base\jwt-service.ts of the component JWT Service. The manipulation of the argument API_KEY results in use of hard-coded cryptographic key
. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is described as difficult. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | nocobase | 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 2.0.0-alpha.0, 2.0.0-alpha.1, 2.0.0-alpha.2, 2.0.0-alpha.3, 2.0.0-alpha.4, 2.0.0-alpha.5, 2.0.0-alpha.6, 2.0.0-alpha.7, 2.0.0-alpha.8, 2.0.0-alpha.9, 2.0.0-alpha.10, 2.0.0-alpha.11, 2.0.0-alpha.12, 2.0.0-alpha.13, 2.0.0-alpha.14, 2.0.0-alpha.15, 2.0.0-alpha.16, 2.… | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @nocobase/auth | >= 1.9.0, < 1.9.23 | 1.9.23 | GHSA-mv7p-34fv-4874 |
| npm | @nocobase/auth | < 1.9.0-beta.18 | 1.9.0-beta.18 | GHSA-mv7p-34fv-4874 |
| npm | @nocobase/auth | >= 2.0.0-alpha.1, < 2.0.0-alpha.52 | 2.0.0-alpha.52 | GHSA-mv7p-34fv-4874 |
References
- VDB-334033 | nocobase JWT Service jwt-service.ts hard-coded key vdb-entry technical-description
- VDB-334033 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #692205 | https://github.com/nocobase https://github.com/nocobase/nocobase Latest Authorization Bypass third-party-advisory
- https://gist.github.com/H2u8s/f3ede60d7ecfe598ae452aa5a8fbb90d exploit