Bugzilla – Bug 65238
VUL-0: CVE-2005-0085: htdig: cross-site-scripting bug
Last modified: 2021-10-27 15:51:32 UTC
Hi, we received this from vendor-sec. (I think it's not public yet) From: Mark J Cox <mjc@redhat.com> To: vendor-sec@lst.de Cc: mikx@mikx.de, pknirsch@redhat.com Subject: [vendor-sec] CAN-2005-0085 htdig XSS (embargoed) Errors-To: vendor-sec-admin@lst.de Date: Thu, 27 Jan 2005 10:29:24 +0000 (GMT) htdig suffers from a cross site scripting flaw as found by Michael Krax. Looks like this one is different to the last and isn't based on bad templates. The flaw doesn't seem to affect the htdig on htdig.org although there is no patch in CVS, so maybe they applied a quick patch themselves. ..../cgi-bin/htsearch?config=%3Ch1%3Eboo%3C/h1%3E Proposed patch from Phil Knirsch attached, this is CAN-2005-0085. Currently embargoed with no date set, probably suggest say Feb10 1400UTC unless Michael has a preference. Cheers, Mark --- htdig-3.2.0b6/htsearch/htsearch.cc.unescaped_output 2005-01-25 12:50:51.000000000 +0100 +++ htdig-3.2.0b6/htsearch/htsearch.cc 2005-01-25 12:52:45.000000000 +0100 @@ -211,8 +211,7 @@ } if (access((char*)configFile, R_OK) < 0) { - reportError(form("Unable to read configuration file '%s'", - configFile.get())); + reportError("Unable to read configuration file"); } config->Read(configFile); --- htdig-3.2.0b6/htsearch/qtest.cc.unescaped_output 2005-01-25 12:51:00.000000000 +0100 +++ htdig-3.2.0b6/htsearch/qtest.cc 2005-01-25 12:51:19.000000000 +0100 @@ -132,8 +132,7 @@ if (access((char*)configFile, R_OK) < 0) { - reportError(form("Unable to find configuration file '%s'", - configFile.get())); + reportError("Unable to find configuration file"); } config->Read(configFile);
<!-- SBZ_reproduce --> ..../cgi-bin/htsearch?config=%3Ch1%3Eboo%3C/h1%3E
CAN-2005-0085
------------------------------------------------------------------- Thu Jan 27 15:17:15 CET 2005 - ke@suse.de - Fix a cross site scripting flaw as found by Michael Krax; apply the patch proposed by Phil Knirsch; CAN-2005-0085 [# 50238]. ------------------------------------------------------------------- Note, /work/src/done/8.1/htdig.new supersedes /work/src/done/8.1/htdig Thomas offered to write patchinfo files.
SM-Tracker-256
`patchinfo-box.htdig' -> `/work/src/done/PATCHINFO/patchinfo-box.htdig' `patchinfo.htdig' -> `/work/src/done/PATCHINFO/patchinfo.htdig'
updates released.
CVE-2005-0085: CVSS v2 Base Score: 6.8 (AV:N/AC:M/Au:N/C:P/I:P/A:P)