Descrizione
NukeViet CMS is a multi Content Management System. From 4.5.08 until 4.5.12 and 4.6.02, an attacker can place NukeViet's internal {@[, ]@}, [@{, and }@] sanitizer markers in an iframe srcdoc value by encoding square brackets as HTML entities. Recursive NukeViet\Core\Request::filterTags() processing decodes the characters, accepts the forged marker, and later converts it to real markup without normal tag or attribute filtering. Because an unsandboxed srcdoc iframe shares the parent origin and iframe is enabled by default through NV_ALLOWED_HTML_TAGS, stored Contact messages, comments with the editor enabled, or submitted articles can execute JavaScript with the viewer's session. This issue is fixed in versions 4.5.12 and 4.6.02.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.2, EPSS 0.6% (percentile 50).
Versioni da aggiornare
- nukeviet nukeviet: vulnerabile la versione
>= 4.5.08, < 4.5.12→ installare l'ultima release supportata dal vendor. - nukeviet nukeviet: vulnerabile la versione
>= 4.6.00, < 4.6.02→ 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.08, < 4.5.12 | — |
| nukeviet | nukeviet | >= 4.6.00, < 4.6.02 | — |
Riferimenti
- Riferimentohttps://github.com/nukeviet/nukeviet/blob/4.5.13/CHANGELOG.txt
- Riferimentohttps://github.com/nukeviet/nukeviet/commit/13d83ff45072730d10de89195da2154c896d6968
- Riferimentohttps://github.com/nukeviet/nukeviet/commit/81a021a6557477efe5a4c713e21b883d138002e6
- Riferimentohttps://github.com/nukeviet/nukeviet/releases/tag/4.6.02
- Riferimentohttps://github.com/nukeviet/nukeviet/security/advisories/GHSA-p7cw-whjw-crcm
- Riferimentohttps://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html