[UNIX] Security Bug Found in ht://Dig htsearch CGI (DoS, File Exposure)
From: support@securiteam.comDate: 10/16/01
- Previous message: support@securiteam.com: "[NT] Account Management Vulnerabilities in Ipswitch IMail Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Subject: [UNIX] Security Bug Found in ht://Dig htsearch CGI (DoS, File Exposure) Message-Id: <20011016170343.0FC5B138C1@mail.der-keiler.de> Date: Tue, 16 Oct 2001 19:03:43 +0200 (CEST)
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -
Security Bug Found in ht://Dig htsearch CGI (DoS, File Exposure)
------------------------------------------------------------------------
SUMMARY
The <http://sourceforge.net/projects/htdig/> ht://Dig system is a
complete indexing and searching system for a domain or Intranet. A
security vulnerability in the product allows attackers to either cause the
program to stop responding, or to cause it to reveal the content of
sensitive files.
DETAILS
Vulnerable systems:
htDig version 3.1.0b2 and more recent, including 3.1.5 and 3.2.0b3
Immune systems:
htDig version 3.1.6 or 3.2.0b4
The htsearch CGI runs as both the CGI and as a command-line program. The
command-line program accepts the -c [filename] to read in an alternate
configuration file. On the other hand, no filtering is done to stop the
CGI program from taking command-line arguments, so a remote user can force
the CGI to stall until it times out (resulting in a DoS) or read in a
different configuration file.
For a remote exposure, a specified configuration file would need to be
readable via the web server UID, e.g. via anonymous FTP with upload
enabled or samba world-readable log files are the possible targets) to
potentially retrieve files readable by the web server UID.
For example:
nothing_found_file: /path/to/the/file/we/steal
Exploit:
http://your.host/cgi-bin/htsearch?-c/dev/zero
http://your.host/cgi-bin/htsearch?-c/path/to/my.file
Fix:
Upgrade to current prerelease versions of 3.1.6 or 3.2.0b4.
ADDITIONAL INFORMATION
The information has been provided by <mailto:ghutchis@wso.williams.edu>
Geoff Hutchison.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: support@securiteam.com: "[NT] Account Management Vulnerabilities in Ipswitch IMail Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- Re: sendmail compromised - Somebody help me!
... I also discovered, to my shock, that the default PHP configuration was ... Your
CGIs are a potential problem: Running awstats as a CGI is the path ... Typhoid Mary
of risk -- as, judging by its sorry security history, is ... (comp.os.linux.security) - Re: Ten least secure programs
... security safeguards that can be activated to make the script more safe. ...
checking on data input and will abort the program if it is asked to handle ... programmer
who wrote the CGI script. ... Evaluating SSL VPNs' Consider NEOTERIS, chosen as
leader by top analysts! ... (Security-Basics) - Re: Web form CGI, Security?
... Is a door on a house a huge security hole? ... > I'm asking my host to install
CGI, although I know he is security ... The reason a lot of hosting facilities don't
allow ... CGI is because folks don't know what they are doing. ... (comp.lang.perl.misc) - [NEWS] Axis Network Camera Requires No Authentication to Access Sensitive Information
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Axis Network Cameras
suffers from a security flaw in the CGI they include. ... (Securiteam)