Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:12248
HistoryApr 16, 2006 - 12:00 a.m.

Musicbox vuln.

2006-04-1600:00:00
vulners.com
5

Musicbox vuln.

###############################################
Vuln. discovered by : r0t
Date: 16 april 2006
vendorlink:http://www.musicboxv2.com/
affected versions:2.3.3 and previous
orginal advisory:http://pridels.blogspot.com/2006/04/musicbox-vuln.html
###############################################

Vuln. Description:

Input passed to the "term" parameter when performing a search isn't properly
sanitised before being returned to the user. This can be exploited to
execute arbitrary HTML and script code in a user's browser session in
context of an affected site.

example:

/index.php?in=song&term=%22%3Cscript%3Ealert%28%27r0t%27%29%3C%2Fscript%3E&action=search&start=0

Musicbox contains a flaw that allows a remote sql injection
attacks.Inputpassed to the "start","type" parameters in "
index.php" isn't properly sanitised before being used in a SQL query. This
can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

examples:

/index.php?in=song&term=r0t&action=search&start=[SQL]
/index.php?action=top&show=10&type=[SQL]

###############################################
Solution:
Edit the source code to ensure that input is properly sanitised.
###############################################
More information @ unsecured-systems.com/forum/