Descrizione
The SlimStat Analytics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'filter_array' parameter in all versions up to, and including, 6.1.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires a non-default administrator configuration in which the can_view whitelist contains at least one username of which the attacker's login is a substring (e.g., can_view set to 'trustedreporter' while the attacker's login is 'report'), and the stored payload only fires when an administrator subsequently opens the Saved Filters dialog.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4, EPSS 0.4% (percentile 31).
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.
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/assets/js/admin.js#L1360
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/index.php#L2448
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/index.php#L2466
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/index.php#L2509
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3805776%40wp-slimstat&new=3805776%40wp-slimstat
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/d1717e66-c741-499b-8f49-699ccd4cd42a?source=cve