Gollos 2.8 Cross Site Scripting

2011-02-15T00:00:00
ID PACKETSTORM:98501
Type packetstorm
Reporter High-Tech Bridge SA
Modified 2011-02-15T00:00:00

Description

                                        
                                            `====================================  
Vulnerability ID: HTB22831  
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_gollos.html  
Product: Gollos  
Vendor: Gollos ( http://www.gollos.com/ )   
Vulnerable Version: 2.8 and probably prior versions  
Vendor Notification: 01 February 2011   
Vulnerability Type: XSS (Cross Site Scripting)  
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 "product/list.aspx" script to properly sanitize user-supplied input in "q" 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/product/list.aspx?q=1"><script>alert(document.cookie)</script>&x=0&y=0  
  
  
  
====================================  
Vulnerability ID: HTB22830  
Reference: http://www.htbridge.ch/advisory/multiple_xss_vulnerabilities_in_gollos.html  
Product: Gollos  
Vendor: Gollos ( http://www.gollos.com/ )   
Vulnerable Version: 2.8 and probably prior versions  
Vendor Notification: 01 February 2011   
Vulnerability Type: XSS (Cross Site Scripting)  
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 "register.aspx", "publication/info.aspx", "user/add.aspx" scripts to properly sanitize user-supplied input in "returnurl" 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/?returnurl="><script>alert(document.cookie)</script>  
  
http://host/register.aspx?returnurl="><script>alert(document.cookie)</script>  
  
https://adminhost/publication/info.aspx?pt=1&returnurl="><script>alert(document.cookie)</script>  
  
https://adminhost/user/add.aspx?returnurl="><script>alert(document.cookie)</script>  
user/add.aspx  
  
  
`