Descrizione
The VidShop for WooCommerce plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 1.10.0 via the /vsfw/v1/products/{id} REST API endpoint. This is due to the endpoint's permission_callback (check_public_permission) returning true unconditionally and the get_item() handler only checking that the product and video exist — it does not check the product's post_status or catalog visibility, nor does it verify that the product is actually linked to the supplied video_id. This makes it possible for unauthenticated attackers to enumerate product IDs and read private, draft, and catalog-hidden WooCommerce products' names, short descriptions, prices, variations, attributes, and stock information that would otherwise be hidden from public view.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.6% (percentile 49).
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.
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/vidshop-for-woocommerce/tags/1.10.0/includes/rest-api/v1/class-products-controller.php#L185
- Riferimentohttps://plugins.trac.wordpress.org/browser/vidshop-for-woocommerce/tags/1.10.0/includes/rest-api/v1/class-products-controller.php#L289
- Riferimentohttps://plugins.trac.wordpress.org/browser/vidshop-for-woocommerce/tags/1.10.0/includes/rest-api/v1/class-products-controller.php#L61
- Riferimentohttps://plugins.trac.wordpress.org/browser/vidshop-for-woocommerce/tags/1.10.0/includes/rest-api/v1/class-rest-controller.php#L36
- Riferimentohttps://plugins.trac.wordpress.org/browser/vidshop-for-woocommerce/tags/1.10.0/includes/services/class-woocommerce.php#L284
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3807447/vidshop-for-woocommerce
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3807447/vidshop-for-woocommerce/trunk/includes/rest-api/v1/class-products-controller.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/ea984c60-ec59-4cc5-ba96-f58bb683529b?source=cve