ht://Dig: Cross-site scripting vulnerability — GLSA 200502-16

ht://Dig is vulnerable to cross-site scripting attacks.

Affected packages

www-misc/htdig on all architectures
Affected versions < 3.1.6-r7
Unaffected versions >= 3.1.6-r7

Background

ht://Dig is an HTTP/HTML indexing and searching system.

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

Release date
February 13, 2005

Latest revision
February 13, 2005: 01

Severity
low

Exploitable
remote

Bugzilla entries