llamaCVEVulnerability Intelligence
/
haxcms-nodejs

CVE-2026-46395

HAX CMS Vulnerable to Private Key Disclosure via Broken HMAC Implementation

Parche disponibleinformation disclosure
Descargar PNG JSON
CVSS 4.0
9.3
Crítica
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos11 fuente
Parche1 versiónPrimer parche a -24 d de la divulgación
Exposición166 dDesde la divulgación, 5 jun 2026, 1:27 p. m.
Detección164 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 26.0.0
Monitoreo
Detectada
12 may 26
5 jun 26
17 nov 26
19 nov 26
12 may 26
29 jun 26
16 ago 26
2 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 26.0.0 @haxtheweb/haxcms-nodejs · -24 d desde divulgación
Divulgación Publicada CVE-2026-46395 divulgada · CVSS 9.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, the `hmacBase64()` function in the HAXcms Node.js backend contains two critical cryptographic implementation errors that together allow any unauthenticated attacker to extract the system’s private signing key and forge arbitrary admin-level JSON Web Tokens (JWTs) allowing them to get full admin access with a single HTTP request. First, the function passes the literal string "0" as the HMAC signing key instead of the key parameter, making every HAXcms instance compute identical HMACs for the same input. Then, after computing the HMAC, the function concatenates the real key parameter which is "this.privateKey + this.salt", the system’s master signing secret is directly onto the output. The combined buffer is base64-encoded and returned as the token. Every base64url token produced has the same structure: 32 bytes HMAC keyed with "0" and N bytes of `privateKey+salt`. An attacker base64-decodes any token, discards the first 32 bytes, and reads the private key directly. The `/system/api/connectionSettings` endpoint is unauthenticated and returns multiple tokens generated by this function. A single GET request to this endpoint exposes the private key. The PHP backend implements this function correctly with the actual key and returns only the hash. The PHP version produces 44-character tokens whereas the broken Node.js version produces 139+ character tokens. Version 26.0.0 fixes the issue.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
haxcms-nodejs · @haxtheweb/haxcms-nodejs< 26.0.0
26.0.0
26.8.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@haxtheweb/haxcms-nodejs
Corregida 26.0.0 -24 d 26.8.1 no afectada
Versiones corregidas26.0.0
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
shreyas-challa/CVE-2026-46395-haxcms-hmac-key-leak
1
Ver los 1 repositorios de GitHub
shreyas-challa/CVE-2026-46395-haxcms-hmac-key-leak

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/haxtheweb/issues/security/advisories/GHSA-6c8g-9hfh-pq5h
Exploithttps://github.com/shreyas-challa/CVE-2026-46395-haxcms-hmac-key-leak

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.