Delphis Consulting Plc Security Team Advisory DST2K0008 - Buffer Overrun in Sambar Server 4.3 (Production). By using the default finger script shipped with Sambar server it is possible to cause an Buffer overrun in sambar.dll overwriting the EIP allowing the execution of arbitry code.
05b6dfa2ec29e75514de7fa8cbc730fb79c63434ccf49ad1b6c49e7cedffd1cb
================================================================================
Delphis Consulting Plc
================================================================================
Security Team Advisories
[30/05/2000]
securityteam@delphisplc.com
[http://www.delphisplc.com/thinking/whitepapers/]
================================================================================
Adv : DST2K0008
Title : Buffer Overrun in Sambar Server 4.3 (Production)
Author : DCIST (securityteam@delphisplc.com)
O/S : Microsoft Windows NT v4.0 Workstation (SP6)
Product : Sambar Server 4.3 Beta 9 (Production)
Date : 30/05/2000
I. Description
II. Solution
III. Disclaimer
================================================================================
I. Description
================================================================================
Delphis Consulting Internet Security Team (DCIST) discovered the following
vulnerability in the Sambar Server under Windows NT.
By using the default finger script shipped with Sambar server it is possible
to cause an Buffer overrun in sambar.dll overwriting the EIP allowing the
execution of arbitry code. This is done by sending a large hostname in the
required field. The string has to be a length of 32286 + EIP (4 bytes) making
a total of 32290 bytes.
From the our research it seems the problem also exists in a number of scripts
which rely on sambar dll functionality this includes but is not limited to:
o whois demonstration script
o finger demonstration script
II. Solution
================================================================================
Vendor Status: Informed
Currently there is no vendor patch available but the following are preventative
measures Delphis Consulting Internet Security Team would advise users running
this service to implement.
o Remove both demonstration scripts.
III. Disclaimer
================================================================================
THE INFORMATION CONTAINED IN THIS ADVISORY IS BELIEVED TO BE ACCURATE AT
THE TIME OF PRINTING, BUT NO REPRESENTATION OR WARRANTY IS GIVEN, EXPRESS OR
IMPLIED, AS TO ITS ACCURACY OR COMPLETENESS. NEITHER THE AUTHOR NOR THE
PUBLISHER ACCEPTS ANY LIABILITY WHATSOEVER FOR ANY DIRECT, INDIRECT OR
CONSEQUENTIAL LOSS OR DAMAGE ARISING IN ANY WAY FROM ANY USE OF, OR RELIANCE
PLACED ON, THIS INFORMATION FOR ANY PURPOSE.
================================================================================