by r0t,der4444,cembo,VietMafia

Wednesday, December 14, 2005

PDEstore XSS vuln.

PDEstore XSS vuln.

Vuln. dicovered by : r0t
Date: 14 dec. 2005
vendor:www.smart-choices.org/docs/pdestore.html
affected version:1.8 and prior

Product Description:
PDEstore Ver. 1.8 is an easy to easy to install, easy to use online shopping cart cgi script and is easily installed via FTP. PDEstore makes configuring your store calculations easy to update and change as needed. PDEstore does not use complex modules to complicate consistent, error-free operation. Easy web-based management scripts make it easy to maintain your store products. PDEstore simplifies the process of selling products from your web site.

Vuln. Description:

PDEstore contains a flaw that allows a remote cross site scripting attack. This flaw exists because input passed to search module parameter and "product" "cart_id" parameters in "pdestore.cgi" 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:

/pdestore.cgi?product=%22%3E%3Cscript
%3Ealert('r0t')%3C/script%3E

/pdestore.cgi?product=jewelry&cart_id
=%22%3E%3Cscript%3Ealert('r0t')%3C/s
cript%3E


Solution:
Edit the source code to ensure that input is properly sanitised.

0 Comments:

Post a Comment

<< Home

 
Copyright (c) 2006 Pridels Sec Crew