GHSA-f38f-jvqj-mfg6
NodeJS version of HAX CMS Has Insecure Default Configuration That Leads to Unauthenticated Access
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @haxtheweb/haxcms-nodejs | < 11.0.7 | 11.0.7 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Summary
The NodeJS version of HAX CMS uses an insecure default configuration designed for local
development. The default configuration does not perform authorization or authentication checks.
### Details
If a user were to deploy haxcms-nodejs without modifying the default settings, ‘HAXCMS_DISABLE_JWT_CHECKS‘ would be set to ‘true‘ and their deployment would lack session authentication.

#### Affected Resources
- [package.json:13](https://github.com/haxtheweb/haxcms-nodejs/blob/a4d2f18341ff63ad2d97c35f9fc21af8b965248b/package.json#L13)
### PoC
To reproduce this vulnerability, [install](https://github.com/haxtheweb/haxcms-nodejs) HAX CMS NodeJS. The application will load without JWT checks enabled.
### Impact
Without security checks in place, an unauthenticated remote attacker could access, modify, and delete all site information.
References
External links from the advisory. They lead to third-party sites.