Descrizione
The Drag and Drop Multiple File Upload (Pro) - WooCommerce plugin for WordPress is vulnerable to generic SQL Injection via the 'wc-upload-file (array key)' parameter in all versions up to, and including, 1.7.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires that the site administrator has enabled the 'Count no. of pages?' option (drag_n_drop_count_pdf set to 'yes') and that the uploaded filename stored in the cart resolves to a file with a .pdf extension.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.6% (percentile 42).
Versioni da aggiornare
- CodeDropz Drag and Drop Multiple File Upload (Pro) - WooCommerce: vulnerabili le versioni fino alla
1.7.2inclusa → aggiornare a una release successiva alla1.7.2.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Attivare regole WAF anti SQL injection, ridurre i privilegi dell'utente del database e monitorare query anomale.
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 |
|---|---|---|---|
| CodeDropz | Drag and Drop Multiple File Upload (Pro) - WooCommerce | ≤ 1.7.2 | — |