Descrizione
AstroBlocks is a block-first CMS for Astro projects. Prior to version 3.4.0, admin session tokens can be forged due to a hard-coded fallback JWT secret and a mismatched environment variable name. An attacker who knows the public fallback value (readable in the published package) can forge a valid session token with role: "owner" and obtain full administrative control of the CMS — creating/deleting content, users, media, redirects, and configuration. This issue has been patched in version 3.4.0.
Prodotti coinvolti
| Fornitore | Prodotto | Versione | Piattaforma |
| nauelg |
astro-blocks |
< 3.4.0 |
– |
Tipo di vulnerabilità
CWE-321
Use of Hard-coded Cryptographic Key
The product uses a hard-coded, unchangeable cryptographic key.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità, Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
Prevention schemes mirror that of hard-coded password storage.
Tutte le 315 CVE di tipo CWE-321, con andamento e prevenzione