Descrizione
Akaunting 3.3.0 contains a stored cross-site scripting vulnerability in the company localisation date format. An authenticated Manager can store an arbitrary date format. When another authenticated user opens a recurring invoice, Akaunting formats dates with that value and sends the result to a raw HTML schedule description, causing attacker-controlled markup to execute in the victim's Akaunting origin.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.0, EPSS 0.7% (percentile 47).
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):
Validate company date formats through the localisation settings write path, replace raw recurring-invoice schedule-description output with escaped text, and verify that stored markup renders as text.
Workaround (testo originale del vendor):
Restrict localisation-setting update permission to trusted administrators, review existing company date formats for markup, and reset non-preset values to supported presets.
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/alvvays
- Riferimentohttps://github.com/akaunting/akaunting
- Riferimentohttps://github.com/akaunting/akaunting/blob/3.3.0/app/Http/Requests/Setting/Setting.php
- Riferimentohttps://github.com/akaunting/akaunting/blob/3.3.0/app/View/Components/Documents/Show/Schedule.php