Descrizione
The Groundhogg plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 4.11 This is due to the Admin_Page::page() callback dispatching methods named directly by the $_REQUEST['action'] parameter via call_user_func([$this, $action]) without verifying a nonce: the only nonce check lives in process_action() (admin_init), which prefixes the action with 'process_' before dispatching, so an attacker who supplies action=process_delete causes process_action() to look up the nonexistent 'process_process_delete' method and bail without ever calling wp_verify_nonce(), while page() subsequently invokes the real process_delete() (and other process_* methods such as process_spam, process_status_change, process_edit) with no CSRF token of its own. This makes it possible for unauthenticated attackers to delete arbitrary contacts, change contact opt-in status (including marking contacts as spam, which also appends their IP to the site-wide disallowed_keys option), and perform other state-changing actions via a forged request granted they can trick a site administrator (or any user holding the relevant Groundhogg capability such as delete_contacts/edit_contacts) into performing an action such as clicking on a link.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.1.
Versioni da aggiornare
- trainingbusinesspros Groundhogg — AI CRM, Newsletters, and Marketing Automation: vulnerabili le versioni fino alla
4.11inclusa → aggiornare a una release successiva alla4.11.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Chiudere le sessioni amministrative quando non servono ed evitare di navigare su siti non fidati con sessioni amministrative aperte.
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 |
|---|---|---|---|
| trainingbusinesspros | Groundhogg — AI CRM, Newsletters, and Marketing Automation | ≤ 4.11 | — |
Riferimenti
- Riferimentohttps://github.com/groundhoggwp/groundhogg/commit/51270e6165b5ceef6c85717cc218565d16ed3d9f
- Riferimentohttps://plugins.trac.wordpress.org/browser/groundhogg/tags/4.11/admin/admin-page.php#L367
- Riferimentohttps://plugins.trac.wordpress.org/browser/groundhogg/tags/4.11/admin/admin-page.php#L554
- Riferimentohttps://plugins.trac.wordpress.org/browser/groundhogg/tags/4.11/admin/admin-page.php#L698
- Riferimentohttps://plugins.trac.wordpress.org/browser/groundhogg/tags/4.11/admin/contacts/contacts-page.php#L676
- Riferimentohttps://plugins.trac.wordpress.org/browser/groundhogg/tags/4.11/admin/contacts/contacts-page.php#L707
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3820914/groundhogg/trunk/admin/admin-page.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/50540d9d-7c32-4ae6-a7ff-960d3185d342?source=cve