Descrizione
NukeViet CMS is a multi Content Management System. Prior to 4.5.09, the Comment module accepts attacker-controlled base64 content in the status_comment parameter through modules/comment/funcs/main.php; modules/comment/comment.php decodes it with nv_base64_decode() and assigns it to STATUS_COMMENT without output escaping. The required checkss token was derived from the site-wide NV_CACHE_PREFIX rather than NV_CHECK_SESSION, so a token disclosed in public comment markup could be reused across sessions in a crafted URL. An unauthenticated attacker can therefore cause decoded HTML or JavaScript to render in a victim's browser and perform phishing or same-origin actions. This issue is fixed in version 4.5.09.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.2, EPSS 0.7% (percentile 53).
Versioni da aggiornare
- nukeviet nukeviet: vulnerabile la versione
< 4.5.09→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| nukeviet | nukeviet | < 4.5.09 | — |
Riferimenti
- Riferimentohttps://github.com/nukeviet/nukeviet/commit/c8a0d90887044735a65c4810b46b5fb3d2438022
- Riferimentohttps://github.com/nukeviet/nukeviet/releases/tag/4.5.09
- Riferimentohttps://github.com/nukeviet/nukeviet/security/advisories/GHSA-mxpf-qgg6-v3ff
- Riferimentohttps://github.com/nukeviet/nukeviet/security/advisories/GHSA-mxpf-qgg6-v3ff