SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Web Server/CGI)  >   ht//Dig Vendors:   ht//Dig Group
(Conectiva Issues Fix) ht://Dig Search Engine Software Has Remote Denial of Service and Local Information Disclosure Bugs in htsearch
SecurityTracker Alert ID:  1002533
SecurityTracker URL:  http://securitytracker.com/id/1002533
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Oct 11 2001
Impact:   Denial of service via network, Disclosure of system information, Disclosure of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 3.1.0b2 and more recent, including 3.1.5 and 3.2.0b3
Description:   A vulnerability was reported in the ht://Dig htsearch search engine CGI software that allows remote users to conduct denial of service attacks against the search engine. It also users who can place a special control file on the system to retrieve files from the server.

It is reported that htsearch accepts a -c [filename] option to read in an alternate configuration file. A remote user can specify this command line argument to cause the CGI to stall until it times out or cause it to read in another configuration file.

If a local user places an alternate configuration file on the system, a remote user may then be able to remotely view files on the system that are readable by the web server.

The following type of URLs can be used to trigger this vulnerability:

http://[targethost]/cgi-bin/htsearch?-c/dev/zero
http://[targethost]/cgi-bin/htsearch?-c/path/to/my.file

Impact:   A remote user can cause a denial of service condition. If a local user can place an alternate configuration file on the system (via FTP or Samba or some other means not related to htsearch) and that configuration file is readable by the web server, then a remote user can view files on the system that are readable by the web server.
Solution:   The vendor has released a fix. Updated packages are available at:

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

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

Vendor URL:  www.htdig.org/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Conectiva)

Message History:   This archive entry is a follow-up to the message listed below.
Oct 11 2001 ht://Dig Search Engine Software Has Remote Denial of Service and Local Information Disclosure Bugs in htsearch



 Source Message Contents

Subject:  [conectiva-updates] [CLA-2001:429] Conectiva Linux Security Announcement - htdig


-----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-----



 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC