Descrizione
The CF7 Apps – Honeypot, Database, Redirection, Webhook, and Addons for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpcf7-form (CF7 form body; the [honeypot ...] tag value)' parameter in all versions up to, and including, 3.8.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with custom-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only a meaningful privilege escalation on multisite installations or those with DISALLOW_UNFILTERED_HTML enabled, as Editor-level users on default single-site installs already possess the unfiltered_html capability.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 4.4, EPSS 0.3% (percentile 19).
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/contact-form-7-honeypot/tags/3.8.0/legacy-honeypot/includes/honeypot4cf7.php#L341
- Riferimentohttps://plugins.trac.wordpress.org/browser/contact-form-7-honeypot/tags/3.8.0/legacy-honeypot/includes/honeypot4cf7.php#L392
- Riferimentohttps://plugins.trac.wordpress.org/browser/contact-form-7-honeypot/tags/3.8.0/legacy-honeypot/includes/honeypot4cf7.php#L415
- Riferimentohttps://plugins.trac.wordpress.org/browser/contact-form-7-honeypot/tags/3.8.0/legacy-honeypot/includes/honeypot4cf7.php#L440
- Riferimentohttps://plugins.trac.wordpress.org/browser/contact-form-7-honeypot/tags/3.8.0/legacy-honeypot/includes/honeypot4cf7.php#L488
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3772728%40contact-form-7-honeypot&new=3772728%40contact-form-7-honeypot
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/3091d345-2532-433c-83e0-2e253a4cd8d4?source=cve