Total Tests:

Cross-site Scripting (XSS) Vulnerabilities in eShop for Wordpress

Advisory ID:HTB23034
Product:eShop for Wordpress
Vendor:Rich Pedley
Vulnerable Versions:6.2.8 and probably prior
Tested Version:6.2.8
Advisory Publication:July 20, 2011 [without technical details]
Vendor Notification:July 20, 2011
Public Disclosure:August 10, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in eShop for Wordpress which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in eShop for Wordpress
1.1 The vulnerability exists due to input sanitation error in the "eshoptemplate" parameter in wp-admin/admin.php (when "page" is set to "eshop-templates.php"). A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.
Exploitation example:
http://[host]/wp-admin/admin.php?page=eshop-templates.php&eshoptemplate=%22% 3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
1.2 The vulnerability exists due to input sanitation error in the "action" parameter in wp-admin/admin.php (when "page" is set to "eshop-orders.php"). A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.
Exploitation example:
http://[host]/wp-admin/admin.php?page=eshop-orders.php&view=1&action=%22%3E% 3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
1.3 The vulnerability exists due to input sanitation error in the "viewemail" parameter in wp-admin/admin.php (when "page" is set to "eshop-orders.php"). A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.
Exploitation example:
http://[host]/wp-admin/admin.php?page=eshop-orders.php&viewemail=%22%3E%3Csc ript%3Ealert%28document.cookie%29;%3C/script%3E

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB23034 - https://www.immuniweb.com/advisory/HTB23034 - Cross-site Scripting (XSS) Vulnerabilities in eShop for Wordpress
[2] eShop for Wordpress - http://wordpress.org/extend/plugins/eshop/ - eShop is an accessible shopping cart plugin for WordPress, packed with various features.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a technical question?

Our security experts will answer within
one business day. No obligations.

Have a sales question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
Your data will stay private and confidential