GLSA 200502-16: ht://Dig: Cross-site scripting vulnerability
| Severity: | low | 
| Title: | ht://Dig: Cross-site scripting vulnerability | 
| Date: | 02/13/2005 | 
| Bugs: | |
| ID: | 200502-16 | 
Synopsis
ht://Dig is vulnerable to cross-site scripting attacks.Background
ht://Dig is an HTTP/HTML indexing and searching system.
Affected packages
| Package | Vulnerable | Unaffected | Architecture(s) | 
|---|---|---|---|
| www-misc/htdig | < 3.1.6-r7 | >= 3.1.6-r7 | All supported architectures | 
Description
Michael Krax discovered that ht://Dig fails to validate the 'config' parameter before displaying an error message containing the parameter. This flaw could allow an attacker to conduct cross-site scripting attacks.
Impact
By sending a carefully crafted message, an attacker can inject and execute script code in the victim's browser window. This allows to modify the behaviour of ht://Dig, and/or leak session information such as cookies to the attacker.
Workaround
There is no known workaround at this time.
Resolution
All ht://Dig users should upgrade to the latest version:
    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-misc/htdig-3.1.6-r7"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.