Descrizione
The Chatterbug Forms – Fast, Flexible WordPress Form Builder plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the cbforms_delete_uploaded_files function in all versions up to, and including, 1.1 This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Exploitation requires an administrator to delete the attacker-planted form entry, and the attacker must know or be able to guess the absolute path of a file writable by the PHP process. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.1, EPSS 1.0% (percentile 62).
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:
- Filtrare le sequenze di path traversal sul reverse proxy/WAF ed eseguire il servizio con permessi minimi sul filesystem.
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/chatterbug-forms/tags/1.1/chatterbug-forms.php#L409
- Riferimentohttps://plugins.trac.wordpress.org/browser/chatterbug-forms/tags/1.1/chatterbug-forms.php#L475
- Riferimentohttps://plugins.trac.wordpress.org/browser/chatterbug-forms/tags/1.1/forms/entries.php#L25
- Riferimentohttps://plugins.trac.wordpress.org/browser/chatterbug-forms/tags/1.1/inc/cbforms-util.php#L484
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3809180/chatterbug-forms/trunk/inc/cbforms-util.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/09a9757e-af1f-4d21-9785-b2e0301fe109?source=cve