WordPress WP e-Commerce Plug-in 'cart_messages[]' Parameter Cross Site Scripting Vulnerability
BID:49009
Info
WordPress WP e-Commerce Plug-in 'cart_messages[]' Parameter Cross Site Scripting Vulnerability
| Bugtraq ID: | 49009 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 04 2011 12:00AM |
| Updated: | Aug 04 2011 12:00AM |
| Credit: | High-Tech Bridge SA |
| Vulnerable: |
WordPress WP e-Commerce 3.8.6 |
| Not Vulnerable: | |
Discussion
WordPress WP e-Commerce Plug-in 'cart_messages[]' Parameter Cross Site Scripting Vulnerability
The WP e-Commerce plug-in 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.
WP e-Commerce 3.8.6 is vulnerable; other versions may also be affected.
The WP e-Commerce plug-in 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.
WP e-Commerce 3.8.6 is vulnerable; other versions may also be affected.
Exploit / POC
WordPress WP e-Commerce Plug-in 'cart_messages[]' Parameter 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/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-cart_widget.php?cart_messages[]=%3Cimg%20src=1% 20onerror=javascript:alert%28document.cookie%29%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/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-cart_widget.php?cart_messages[]=%3Cimg%20src=1% 20onerror=javascript:alert%28document.cookie%29%3E
Solution / Fix
WordPress WP e-Commerce Plug-in 'cart_messages[]' Parameter Cross Site Scripting Vulnerability
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
WordPress WP e-Commerce Plug-in 'cart_messages[]' Parameter Cross Site Scripting Vulnerability
References:
References:
- Module Homepage (WordPress)
- WordPress Homepage (WordPress)
- XSS in WP e-Commerce (High-Tech Bridge SA)