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
(Links to External Site)
Date: Apr 4 2005
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 |
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:
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:
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:
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.
No solution was available at the time of this entry.|
Vendor URL: www.profitcode.net/products/payprocart.html (Links to External Site)
Access control error, Authentication error, Input validation error|
|Underlying OS: Linux (Any), UNIX (Any), Windows (Any)|
Source Message Contents
Subject: Authenticaion bypass, Directory transversal and XSS vulnerabilities in PayProCart 3.0 - Profitcode Software|
-----BEGIN PGP SIGNED MESSAGE-----
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
Title: Authenticaion bypass, Directory transversal and XSS vulnerabilities in
PayProCart 3.0 - Profitcode Software
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:
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
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
Keep your self updated, Rss feed at: http://digitalparadox.org/rss.ah
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
-----END PGP SIGNATURE-----
Go to the Top of This SecurityTracker Archive Page