ht://Dig Input Validation Hole in 'sort' Parameter Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1019010 |
|
SecurityTracker URL: http://securitytracker.com/id/1019010
|
|
CVE Reference:
CVE-2007-6110
(Links to External Site)
|
Date: Nov 29 2007
|
Impact:
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 3.2.0b6
|
Description:
A vulnerability was reported in ht://Dig. A remote user can conduct cross-site scripting attacks.
The software does not properly filter HTML code from user-supplied input in the 'sort' parameter before displaying the input. 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 ht//Dig 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]/cgi-bin/htsearch?config=&restrict=&exclude=&method=and&format=builtin-long&sort=<script>alert("foo")</script>&words=foo
Michael Skibbe reported this vulnerability.
|
Impact:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the ht://Dig 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.htdig.org/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (AIX)
|
|
Message History:
This archive entry has one or more follow-up message(s) listed below.
|
Source Message Contents
|
Date: 2007-09-25 11:11
Subject: [htdig-dev] XSS error in sytnax.html
|
Hi,
there is a XSS error in syntax.html of htdig.
you can reproduce this like this:
http://foo.bar/cgi-bin/htsearch?config=&restrict=&exclude=&method=and&format=builtin-long&sort=<script>alert("foo")</script>&words=foo
$(SYNTAXERROR) must be quoted by htdig before filling it in.
greetings
Michael
--
Michael Skibbe <mskibbe@su...>
Core Services
SUSE Linux Products GmbH GF: Markus Rex
Nuernberg, Germany HRB 16746 (AG Nuernberg)
|
|