Descrizione
NukeViet CMS is a multi Content Management System. Prior to 4.5.12 and 4.6.02, an attacker with access to an SVG upload flow can hide a script element in an internal DTD entity. NukeViet\Files\Upload::check_svg_tmpfile() loads the document without entity expansion, leaving a DOMEntityReference, and sanitize_svg_dom() inspects only element nodes, while browsers expand the entity when the stored file is served as image/svg+xml. The SVG path also returned before verify_image() and preserved the original bytes, so the hidden script reached disk unchanged. Guest comment attachments make the upload unauthenticated only when a module's comment feature is open to the All or Guest group and allowattachcomm is enabled; module administrators can also use the file manager, allowing same-origin script execution in an administrator's session. This issue is fixed in versions 4.5.12 and 4.6.02.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.3, EPSS 0.9% (percentile 60).
Versioni da aggiornare
- nukeviet nukeviet: vulnerabile la versione
< 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.
- Disabilitare il caricamento di file se non necessario e impedire l'esecuzione di script nelle directory di upload.
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.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/912823e2581afc23dc39dabdb7d94c718efc78f6
- Riferimentohttps://github.com/nukeviet/nukeviet/commit/b4abcddd3a3a628e251d88571f3968822fab4406
- Riferimentohttps://github.com/nukeviet/nukeviet/releases/tag/4.6.02
- Riferimentohttps://github.com/nukeviet/nukeviet/security/advisories/GHSA-cp55-wmv6-wxpp
- Riferimentohttps://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html
- Riferimentohttps://github.com/nukeviet/nukeviet/security/advisories/GHSA-cp55-wmv6-wxpp