VDB
Sign up
HIGH7.3

GHSA-5fpv-5qvh-7cf3

NodeJS version of the HAX CMS application is distributed with Default Secrets

Quick fix

GHSA-5fpv-5qvh-7cf3 — @haxtheweb/haxcms-nodejs: upgrade to the fixed version with the command below.

npm install @haxtheweb/haxcms-nodejs@11.0.10

Details

### Summary

The NodeJS version of the HAX CMS application is distributed with hardcoded default credentials for the user and superuser accounts. Additionally, the application has default private keys for JWTs. Users aren't prompted to change credentials or secrets during installation, and there is no way to change them through the UI.

### Affected Resources

- [HAXCMS.js](https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/lib/HAXCMS.js#L1614) HAXCMSClass

### Impact

An unauthenticated attacker can read the default user credentials and JWT private keys from the public haxtheweb GitHub repositories. These credentials and keys can be used to access unconfigured self-hosted instances of the application, modify sites, and perform further attacks.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@haxtheweb/haxcms-nodejs
Introduced in: 0Fixed in: 11.0.10
Fixnpm install @haxtheweb/haxcms-nodejs@11.0.10

References