Descrizione
The HUSKY – Products Filter for WooCommerce Professional plugin for WordPress is vulnerable to time-based SQL Injection via the 'link (inner 'woof_text' query parameter)' parameter in all versions up to, and including, 1.4.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The exploit requires a valid product_messenger nonce, which is issued by the woof_redraw_woof AJAX endpoint to any visitor when the shortcode's by_only attribute is set — an attribute that can itself be forced via the attacker-controlled woof_shortcode request parameter, making the nonce trivially obtainable by any logged-in user.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5, EPSS 0.5% (percentile 32).
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:
- 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.
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/woocommerce-products-filter/trunk/classes/request.php#L35
- Riferimentohttps://plugins.trac.wordpress.org/browser/woocommerce-products-filter/trunk/ext/by_text/index.php#L751
- Riferimentohttps://plugins.trac.wordpress.org/browser/woocommerce-products-filter/trunk/ext/products_messenger/index.php#L339
- Riferimentohttps://plugins.trac.wordpress.org/browser/woocommerce-products-filter/trunk/ext/products_messenger/views/woof.php#L19
- Riferimentohttps://plugins.trac.wordpress.org/browser/woocommerce-products-filter/trunk/index.php#L2805
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3800257%40woocommerce-products-filter&new=3800257%40woocommerce-products-filter
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/1505a01e-cfb5-485e-bf37-9dd272cceaa1?source=cve