Descrizione
Akaunting 3.3.0 contains a stored cross-site scripting vulnerability in the XLSX invoice-import workflow. An authenticated Manager can import a child invoice whose invoice number contains HTML and is linked to a recurring invoice. When a victim opens that recurring invoice, Akaunting raw-renders the stored child number in an anchor, causing attacker-controlled markup to execute in the victim's browser.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.0, EPSS 0.3% (percentile 23).
Versioni da aggiornare
- Akaunting Akaunting: vulnerabile la versione
3.3.0→ installare l'ultima release supportata dal vendor.
Indicazioni del vendor
Soluzione (testo originale del vendor):
Escape document_number in the recurring-child view, remove the raw translation sink, normalize or reject markup in invoice-number imports, and add import-to-recurring-child rendering regression tests.
Workaround (testo originale del vendor):
Restrict invoice imports to trusted administrators, inspect existing document numbers for markup, and avoid opening recurring invoices with children imported from untrusted workbooks.
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 |
|---|---|---|---|
| Akaunting | Akaunting | 3.3.0 | — |
Riferimenti
- Riferimentohttps://fluidattacks.com/advisories/soda
- Riferimentohttps://github.com/akaunting/akaunting
- Riferimentohttps://github.com/akaunting/akaunting/blob/3.3.0/app/Imports/Sales/Invoices/Sheets/Invoices.php
- Riferimentohttps://github.com/akaunting/akaunting/blob/3.3.0/resources/views/components/documents/show/children.blade.php