Advisories » ContRay "search.cgi" Parameter Handling Remote Cross-Site Scripting Vulnerability

 

Release Date: 22/04/2008 Severity: Less Critical Less Critical
SecWatch Advisory: SWID1020994 Cause: Input validation error
Solution Status: Unpatched Impact: Cross Site Scripting
Exploit Status: None Available Access Vector: From remote
 
Affected Software: ContRay 3.x
 
CVE: CVE-2008-1960
Secunia: SA29888
Bugtraq ID: BID#28883

 

Description:

An input validation vulnerability in ContRay has been reported, which can be exploited by remote users to conduct cross-site scripting attacks.

User-supplied input passed to the "search" parameter in cgi-bin/contray/search.cgi is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary script code in the security context of an affected website, as a result the code will be able to access any of the target user's cookies, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

 

Solution:

There was no vendor-supplied solution at the time of entry.

Edit source code manually to ensure user-supplied input is correctly sanitised.

Filter malicious characters and character sequences via a HTTP proxy or firewall with URL filtering capabilities.

 

Credits:

Russ McRee, Holistic InfoSec.org

 

Free Vulnerability Notification Service

Receive free instant and customisable notifications of new vulnerabilities or exploits via e-mail, web or RSS feeds. Click here for more information.