Descrizione
The AIL Framework web application contains a stored cross-site scripting (XSS) vulnerability in its dashboard templates. In the home dashboard (dashboard.html), the hunter trackers dashboard (trackers_dashboard.html), and the objects dashboard (objs_dashboard.html), object global identifiers (GIDs) derived from filenames or message IDs were interpolated directly into inline JavaScript event handler attributes (onmouseenter/onmouseleave) within HTML anchor tags. Because the GID value was placed inside a single-quoted JavaScript string literal within an HTML attribute, an attacker who could control the GID value (for example, by crafting a filename or message ID containing a single quote) could break out of the string context and inject arbitrary JavaScript code that would execute in the context of any user viewing the dashboard. Additionally, in dynamically generated JavaScript code within the same templates, object identifiers were concatenated into HTML strings and inline event handler registrations without sufficient encoding, presenting a similar injection surface. The AJAX tooltip lookup also concatenated the raw GID into a URL without encoding, which could be leveraged for further manipulation. The vulnerability requires that an attacker be able to influence the GID value stored in the application (e.g., through a file upload or message creation with a crafted name) and that a victim subsequently visits one of the affected dashboard pages and hovers over the affected object link. Successful exploitation allows execution of arbitrary JavaScript in the victim's browser session, potentially leading to session hijacking, data exfiltration, or unauthorized actions performed on behalf of the victim.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.1, EPSS 0.5% (percentile 34).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.