Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:12489
HistoryMay 01, 2006 - 12:00 a.m.

SunShop XSS vuln.

2006-05-0100:00:00
vulners.com
9

SunShop XSS vuln.

###############################################
Vuln. discovered by : r0t
Date: 1 may 2006
vendor:www.turnkeywebtools.com/index.php/location/products/product/sunshop//
affected versions:3.5 and prior
orginal advisory:http://pridels.blogspot.com/2006/05/sunshop-xss-vuln.html
###############################################

Vuln. Description:

SunShop Shopping Cart contains a flaw that allows a remote cross site
scripting attack. This flaw exists because input passed to
"prevaction","previd","prevstart",
"itemid","id","action" parameter in "index.php" isn't properly sanitised
before being returned to the user.
This could allow a user to create a specially crafted URL that would execute
arbitrary code in a user's browser within the trust relationship between the
browser and the server, leading to a loss of integrity.

examples:

/index.php?action=item&id=15&
prevaction=[XSS]

/index.php?action=item&id=15&
prevaction=category&previd=[XSS]

/index.php?action=item&id=15&
prevaction=category&previd=2&
prevstart=[XSS]

/index.php?action=sendtofriend&
type=item&itemid=[XSS]

/index.php?action=item&id=[XSS]

/index.php?action=[XSS]

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