Descrizione
The Contact Form Email plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 1.3.72. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for authenticated attackers, with subscriber-level access and above, to view and delete all stored contact form submissions, create, rename, delete, and clone forms, alter plugin database tables, and persistently rewrite the reporting options to silently email a CSV of all submissions to an attacker-controlled address on every subsequent request. The nonce intended to authorize state-changing POST requests is minted into the same management page the attacker can already render, so it provides no effective authorization barrier against a Subscriber-level user.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 4.3, EPSS 0.4% (percentile 36).
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:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
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-to-email/tags/1.3.72/classes/cp-base-class.inc.php#L34
- Riferimentohttps://plugins.trac.wordpress.org/browser/contact-form-to-email/tags/1.3.72/cp-admin-int-list.inc.php#L7
- Riferimentohttps://plugins.trac.wordpress.org/browser/contact-form-to-email/tags/1.3.72/cp-main-class.inc.php#L515
- Riferimentohttps://plugins.trac.wordpress.org/browser/contact-form-to-email/tags/1.3.72/cp-main-class.inc.php#L534
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3795422%40contact-form-to-email&new=3795422%40contact-form-to-email
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/ba761f22-d3fa-4ac8-99a0-cc260c147562?source=cve