Descrizione
The EU Order Withdrawal Button for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_USER_AGENT' parameter in all versions up to, and including, 2.4.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Execution requires an Administrator or Shop Manager to open the Withdrawals Preview modal and click the injected note element, which the attacker can enlarge via a retained style attribute to cover the entire note area. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.1, EPSS 0.7% (percentile 53).
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:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
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://github.com/vendidero/eu-order-withdrawal-button-for-woocommerce/commit/b18d5dae5d95f6f8e1818deec2e4070dc037469d
- Riferimentohttps://plugins.trac.wordpress.org/browser/eu-order-withdrawal-button-for-woocommerce/tags/2.4.6/assets/js/static/admin-orders.js#L23
- Riferimentohttps://plugins.trac.wordpress.org/browser/eu-order-withdrawal-button-for-woocommerce/tags/2.4.6/includes/eu-owb-core-functions.php#L978
- Riferimentohttps://plugins.trac.wordpress.org/browser/eu-order-withdrawal-button-for-woocommerce/tags/2.4.6/includes/eu-owb-core-functions.php#L991
- Riferimentohttps://plugins.trac.wordpress.org/browser/eu-order-withdrawal-button-for-woocommerce/tags/2.4.6/src/Admin/WithdrawalTable.php#L1036
- Riferimentohttps://plugins.trac.wordpress.org/browser/eu-order-withdrawal-button-for-woocommerce/tags/2.4.6/src/Admin/WithdrawalTable.php#L1041
- Riferimentohttps://plugins.trac.wordpress.org/browser/eu-order-withdrawal-button-for-woocommerce/tags/2.4.6/src/Ajax.php#L276
- Riferimentohttps://plugins.trac.wordpress.org/browser/eu-order-withdrawal-button-for-woocommerce/tags/2.4.6/src/Ajax.php#L46
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3807402/eu-order-withdrawal-button-for-woocommerce/trunk/src/Admin/WithdrawalTable.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/2b2fa2d4-b839-429a-81f7-a2faa30f66da?source=cve