Descrizione
Merchant for WooCommerce before 2.3.3 contains a missing authorization vulnerability in the Quick View module that allows unauthenticated attackers to read draft, pending, private, and scheduled WooCommerce products. The modal_content_ajax_callback() handler for the merchant_quick_view_content AJAX action is registered for unauthenticated users, is gated only by the merchant-nonce value exposed to every front-end visitor, and loads any supplied product_id with wc_get_product() without checking the product's post status or the user's read_post capability. Attackers can iterate product IDs to obtain the title, price, description, gallery images, and SKU of unpublished products when the Quick View module is enabled.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.3, EPSS 0.4% (percentile 21).
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.