Descrizione
The WP Statistics – Simple, privacy-friendly Google Analytics alternative plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 14.16.19 via the 'tab' parameter parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included. The exploitability of this vulnerability depends on the Minimum Role to View Statistics setting; when set to a low-privilege role such as Subscriber (read capability), unauthenticated-equivalent access is effectively granted to any registered user, while the default Administrator setting limits exposure to higher-privileged accounts.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 1.5% (percentile 74).
Versioni da aggiornare
- veronalabs WP Statistics – Simple, privacy-friendly Google Analytics alternative: vulnerabili le versioni fino alla
14.16.19inclusa → aggiornare a una release successiva alla14.16.19.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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 |
|---|---|---|---|
| veronalabs | WP Statistics – Simple, privacy-friendly Google Analytics alternative | ≤ 14.16.19 | — |
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Abstracts/BaseTabView.php#L31
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Components/View.php#L45
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/PageInsights/Views/TabsView.php#L200
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/PageInsights/Views/TabsView.php#L25
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/Referrals/Views/TabsView.php#L223
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/Referrals/Views/TabsView.php#L29
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Utils/Request.php#L24
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3822157%40wp-statistics&new=3822157%40wp-statistics
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/287932dc-d4f3-4512-b2f3-f06bd0a28ccc?source=cve