Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
|
|
|
|
|
|
|
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
|
|
|
|
Become a Partner and License Our Database or Notification Service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PortalApp Input Validation Flaws in 'ad_click.asp' and 'content.asp' Permit SQL Injection and Cross-Site Scripting
|
|
SecurityTracker Alert ID: 1013591
|
|
SecurityTracker URL: http://securitytracker.com/id?1013591
|
|
CVE Reference: CVE-2005-0948
, CVE-2005-0949
(Links to External Site)
|
Updated: Jul 7 2008
|
Original Entry Date: Mar 29 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 an input validation vulnerability in PortalApp. A remote user can inject SQL commands and conduct cross-site scripting attacks.
The 'ad_click.asp' script does not properly validate user-supplied input in the 'banner_id' parameter. A remote user can supply
a specially crafted parameter value to execute SQL commands on the underlying database.
A demonstration exploit URL is provided:
http://[target]/ad_click.asp?banner
_id='SQL_INJECTION
The 'CatId' and 'ContentType' parameters in the 'content.asp' script are also affected, as shown below:
http://[target]/content.asp?CatId='SQL_ER
ROR&ContentType=Company
http://[target]/content.asp?ContentId='SQL_ERROR
The 'content.asp' script does not filter HTML code
from user-supplied input in the 'contenttype' and 'keywords' parameters. 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 PortalApp 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]/content.asp?contenttype=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
http://[target]/content.asp?do_search=1&keywords='%
3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
|
Impact: A remote user can execute SQL commands on the underlying database.
A remote user can access the target user's cookies (including
authentication cookies), if any, associated with the site running the PortalApp 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.
|
Solution: No solution was available at the time of this entry.
|
Vendor URL: www.aspapp.com/content.asp?CatId=133&ContentType=Product (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Windows (Any)
|
Reported By: "Diabolic Crab" <dcrab@hackerscenter.com>
|
Message History:
None.
|
Source Message Contents
|
Date: Tue, 29 Mar 2005 11:42:12 +0530
From: "Diabolic Crab" <dcrab@hackerscenter.com>
Subject: Multiple sql injection, and xss vulnerabilities in PortalApp.
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dcrab 's Security Advisory
http://icis.digitalparadox.org/~dcrab
http://www.hackerscenter.com/
Severity: Medium
Title: Multiple sql injection, and xss vulnerabilities in PortalApp.
Date: March 30, 2005
Vendor: AspApp
Vendor site: http://www.aspapp.com
Summary:
There are multiple sql injection, xss vulnerabilities in the PortalApp.
Proof of Concept Exploits:
http://localhost/ad_click.asp?banner_id='SQL_INJECTION
Microsoft JET Database Engine error '80040e14'
Syntax error in string in query expression 'banner_id = 'SQL_INJECTION'.
/ad_click.asp, line 14
http://localhost/content.asp?contenttype=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
Pops cookie
http://localhost/content.asp?do_search=1&keywords='%3E%3Cscript%3Ealert(document.cookie)%3C/scrip t%3E
Pops cookie
Possible fix: 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.
Author:
These vulnerabilties have been found and released by Diabolic Crab, Email: dcrab[AT|NOSPAM]hackersent er[DOT|NOSPAM]com,
please feel free to contact me regarding these vulnerabilities. You can find me at,
http://www.hackerscenter.com or http://icis.digitalparadox.org/~dcrab. Lookout for my soon to come ou t book on Secure coding with php.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1 - not licensed for commercial use: www.pgp.com
iQA/AwUBQkjxjyZV5e8av/DUEQJTagCeMdB58bY72TMo6mITsSHLByjCT/MAnjRM
n0K6nk2uxIlFknfglJIoUkqq
=V5fo
-----END PGP SIGNATURE-----
|
|
Go to the Top of This SecurityTracker Archive Page
|