Descrizione
The WP Duplicate – WordPress Migration Plugin plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.1.11 via the 'file_name' parameter. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information. The authentication bypass requires submitting the JSON boolean `true` as the `prod_key_random_id` value, which coerces against any non-empty stored secret so that the loose `!=` comparison evaluates to false, skipping the rejection branch entirely without knowledge of the secret.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 1.0% (percentile 62).
Versioni da aggiornare
- revmakx WP Duplicate – WordPress Migration Plugin: vulnerabili le versioni fino alla
1.1.11inclusa → aggiornare a una release successiva alla1.1.11.
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| revmakx | WP Duplicate – WordPress Migration Plugin | ≤ 1.1.11 | — |
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/local-sync/tags/1.1.11/admin/class-local-sync-admin.php#L1064
- Riferimentohttps://plugins.trac.wordpress.org/browser/local-sync/tags/1.1.11/includes/class-local-sync-handle-server-requests.php#L134
- Riferimentohttps://plugins.trac.wordpress.org/browser/local-sync/tags/1.1.11/includes/class-local-sync-handle-server-requests.php#L39
- Riferimentohttps://plugins.trac.wordpress.org/browser/local-sync/tags/1.1.11/includes/class-local-sync-handle-server-requests.php#L467
- Riferimentohttps://plugins.trac.wordpress.org/browser/local-sync/tags/1.1.11/includes/class-local-sync.php#L221
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/4d3a5a4b-bd29-418c-a204-f0ed9afb03fb?source=cve