7270868 2001-10-10 19:19 -0200  /100 rader/  <secure@conectiva.com.br>
Sänt av: joel@lysator.liu.se
Importerad: 2001-10-11  00:28  av Brevbäraren
Extern mottagare: conectiva-updates@papaleguas.conectiva.com.br
Extern mottagare: linuxlist@securityportal.com
Extern mottagare: lwn@lwn.net
Extern mottagare: bugtraq@securityfocus.com
Extern mottagare: security-alerts@linuxsecurity.com
Mottagare: Bugtraq (import) <19406>
Ärende: [CLA-2001:429] Conectiva Linux Security Announcement - htdig
------------------------------------------------------------
From: secure@conectiva.com.br
To: conectiva-updates@papaleguas.conectiva.com.br,
 linuxlist@securityportal.com, lwn@lwn.net, bugtraq@securityfocus.com,
 security-alerts@linuxsecurity.com
Message-ID: <200110102119.TAA22384@frajuto.distro.conectiva>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT 
- --------------------------------------------------------------------------

PACKAGE   : htdig
SUMMARY   : ht://Dig DoS and remote exposure
DATE      : 2001-10-10 19:17:00
ID        : CLA-2001:429
RELEVANT
RELEASES  : 5.0, 5.1, 6.0, 7.0

- -------------------------------------------------------------------------

DESCRIPTION
 The ht://Dig system is a complete world wide web indexing and
 searching system for a small domain or intranet. The htsearch
 program is the component used for queries and can be used with
 a web server using a cgi interface.
 
 Nergal <nergal at 7bulls.com> reported[1] a vulnerability in
 htsearch wich allows a remote user to pass the -c parameter (use
 specific config file) to the program even when it's running as a
 cgi. A malicious user could point to a file like /dev/zero and let
 the server run in an endless loop, trying to read config
 parameters from there. Also, if the user has write permission on
 the server and can create a file with specific entries, he/she can
 point the server to it and retrive any file readable by the
 webserver UID.


SOLUTION
 All htdig users should upgrade.
 
 
 REFERENCES:
 1.http://sourceforge.net/tracker/index.php?func=detail&aid=458013&group_id=4593&
 atid=104593


DIRECT DOWNLOAD LINKS TO THE UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/5.0/i386/htdig-3.1.5-2U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.0/SRPMS/htdig-3.1.5-2U50_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.1/i386/htdig-3.1.5-2U51_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.1/SRPMS/htdig-3.1.5-2U51_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/6.0/RPMS/htdig-3.1.5-5U60_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/6.0/SRPMS/htdig-3.1.5-5U60_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/htdig-3.1.5-10U70_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/htdig-doc-3.1.5-10U70_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/7.0/SRPMS/htdig-3.1.5-10U70_1cl.src.rpm


ADDITIONAL INSTRUCTIONS
 Users of Conectiva Linux version 6.0 or higher may use apt to perform 
 upgrades of RPM packages:
 - add the following line to /etc/apt/sources.list if it is not there yet
   (you may also use linuxconf to do this):

 rpm [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates

(replace 6.0 with the correct version number if you are not running
CL6.0)

 - run:                 apt-get update
 - after that, execute: apt-get upgrade

 Detailed instructions reagarding the use of apt and upgrade examples
 can be found at
 http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en


- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at 
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en

- -------------------------------------------------------------------------
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7xLtk42jd0JmAcZARAhKVAKDiZhDths7YPkruj8hkINXJnQxRWgCeMFIM
Mqb38XocMo3NHK9XBrNdGSg=
=iZpE
-----END PGP SIGNATURE-----
(7270868) / <secure@conectiva.com.br>/----(Ombruten)
Kommentar i text 7275659 av Geoff Hutchison <ghutchis@wso.williams.edu>
7275659 2001-10-10 22:00 -0500  /30 rader/ Geoff Hutchison <ghutchis@wso.williams.edu>
Sänt av: joel@lysator.liu.se
Importerad: 2001-10-11  17:34  av Brevbäraren
Extern mottagare: secure@conectiva.com.br
Extern kopiemottagare: bugtraq@securityfocus.com
Extern kopiemottagare: lwn@lwn.net
Mottagare: Bugtraq (import) <19409>
Kommentar till text 7270868 av  <secure@conectiva.com.br>
Ärende: Re: [CLA-2001:429] Conectiva Linux Security Announcement - htdig
------------------------------------------------------------
From: Geoff Hutchison <ghutchis@wso.williams.edu>
To: secure@conectiva.com.br
Cc: bugtraq@securityfocus.com, lwn@lwn.net
Message-ID: <a05100301b7eaba5e100c@[129.105.9.200]>

At 7:19 PM -0200 10/10/01, secure@conectiva.com.br wrote:
>A malicious user could point to a file like /dev/zero and let
>  the server run in an endless loop, trying to read config
>  parameters from there.

Whoa there. I haven't looked at the RPMs you're distributing, but the 
htsearch CGI will timeout after a given interval (by default 5 
minutes) via the alarm() call. Yes, the /dev/zero URL could be used 
for a Denial of Service attack in this fashion. Yes, it's a bug and a 
reason to upgrade.

No, this is not an "endless" loop, unless you've removed that alarm()
call.

To quote from my previous message:
At 3:46 PM -0500 10/7/01, Geoff Hutchison wrote:
>remote user can force the CGI to stall until it times out

Cheers,
-- 
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
(7275659) /Geoff Hutchison <ghutchis@wso.williams.edu>/(Ombruten)