GitHub Advisory Database
GHSA-f38f-jvqj-mfg6
NodeJS version of HAX CMS Has Insecure Default Configuration That Leads to Unauthenticated Access
Details
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.
!insecure-default-configuration-code
Affected Resources
PoC
To reproduce this vulnerability, install 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @haxtheweb/haxcms-nodejs | All versions before 11.0.7 (fixed in 11.0.7) |