WordPress Ecpay Logistics For WooCommerce plugin version 1.2.181030 suffers from a cross site scripting vulnerability.
a30bd615c191cf717a1dd3a0ea095375172367c74e0c8e8ebbb5f8e3ee306e7b
Class Input Validation Error
Remote Yes
Credit Ricardo Sanchez
Vulnerable Ecpay logistics for woocommerce 1.2.181030
Ecpay logistics for woocommerce is prone to a reflected cross-site
scripting vulnerability because it fails to sufficiently sanitize
user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the
browser of an unsuspecting user in the context of the affected site. This
may allow the attacker to steal cookie-based authentication credentials and
to launch other attacks.
To exploit this issue following steps:
The XSS reflected because the value url is not filter correctly:
Demo Request GET:
http://localhost/wordpress/wp-content/plugins/ecpay-logistics-for-woocommerce/getChangeResponse.php?&CVSStoreName=hola2%22;%20%3C/script%3E%3Cscript%3Ealert(%22XSS%22)%3C/script%3E