evolve or die

iss.smb-dos.txt

iss.smb-dos.txt
Posted Aug 30, 2002
Site iss.net

ISS Security Advisory - Windows NT, 2000, and XP can be crashed remotely by sending a malformed packet to port 139, triggering a heap overflow. MS02-045.

tags | denial of service, overflow
systems | windows, nt
advisories | CVE-2002-0724
MD5 | c1a41e51ef34733065164f72ef91735d

iss.smb-dos.txt

Change Mirror Download
Internet Security Systems Security Alert
August 29, 2002

Microsoft Windows SMB Denial of Service Vulnerability

Synopsis:

A vulnerability has been reported in the Windows file and resource sharing
mechanism. The SMB (Server Message Block) protocol handles the sharing of
files and devices in Windows environments. A flaw in the implementation
of SMB may allow remote attackers to launch DoS (Denial of Service) attacks
against vulnerable systems.

Impact:

A remote attacker can cause a vulnerable system to crash by sending a
specially crafted SMB packet to an open NetBIOS port (TCP port 139).
These ports are typically filtered on outward facing Internet servers.
This vulnerability poses a significant DoS risk to unprotected home or
small/medium size business servers, or any servers not protected by basic
protection systems. An exploit tool for this vulnerability has been
released and is actively circulating in the computer underground. ISS
has detected increased scanning activity for this SMB vulnerability across
the Internet.

Affected Versions:

Microsoft Windows NT 4.0 Workstation
Microsoft Windows NT 4.0 Server
Microsoft Windows NT 4.0 Server, Terminal Server Edition
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Windows XP Professional

Description:

All affected versions of the Windows operating system are configured with the
vulnerable service enabled by default. SMB is a core component of Windows
networking technology. SMB clients and servers that share and provide network
resources such as files, printing sharing, or port sharing use the SMB
protocol to communicate.

A flaw in the Windows SMB implementation may allow attackers to craft special
packets to trigger a heap overflow. This overflow will allow the attack to
write data onto the heap, which triggers the DoS. X-Force has examined the
vulnerability in detail and believes that at this time, it is not possible to
control the data that is written onto the heap, therefore it is not possible
to execute arbitrary code by way of this vulnerability.

Recommendations:

X-Force recommends that all SMB traffic be filtered at the perimeter to block
this attack, and similiar attacks that involve incorrectly configured SMB
file shares. Windows XP users are encouraged to configure their Internet
Connection Firewall (ICF) to block SMB connections. This recommendation is
particularly significant for home users with "always-on" broadband
connections.

A workaround for this issue exists that may block the DoS attack from
unauthenticated, anonymous users. The local security policy for Windows NT,
2000, and XP allow anonymous connections, or "null sessions". If null
sessions are disallowed, anonymous users cannot successfully exploit the
vulnerability. However, authenticated users can still execute the DoS
attack. To disable null sessions:

On Windows XP, open the Local Security Policy and enable the following
security options:
"Network Access: Do not allow anonymous enumeration of SAM accounts"
"Network access: Do not allow anonymous enumeration of SAM accounts
and shares"

On Windows 2000, enable:
"Additional restrictions for anonymous connections"

On Windows NT 4.0 SP3 and later, locate "restrictanonymous" in the following
key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA

"restrictanonymous" should be set to 1 to disable null sessions.

RealSecure 7.0 customers can configure a user-defined event to detect exploit
attempts.

alert tcp any any -> any 139 (msg: "DoS SMB";flags: A+;
content:"|504950455c4c414e4d414e00|";)

For more information on RealSecure 7.0 TRONS events, search for "trons" in
the ISS Knowledgebase: http://www.iss.net/support/knowledgebase/.

ISS X-Force will provide detection and assessment support for this
vulnerability in upcoming X-Press Updates for RealSecure Network Sensor and
Internet Scanner. RealSecure Network Sensor 6.5 and 7.0 can detect this
attack, as well as all SMB null session connection attempts with the
"Windows_Null_Session" event. Internet Scanner can currently assess if
systems are vulnerable to null session connections with the "NetBIOS shares
- null session" check. System Scanner can detect if null sessions are enabled
with the "reg-share-04" check.

Microsoft has released security patches for all affected versions. Please
refer to the Microsoft Security Bulletin referenced in the Additional
Information section.

Additional Information:

The Common Vulnerabilities and Exposures (CVE) project has assigned the name
CAN-2002-0724 to this issue. This is a candidate for inclusion in the CVE
list (http://cve.mitre.org), which standardizes names for security problems.

Microsoft Security Bulletin MS02-45
http://www.microsoft.com/technet/security/bulletin/MS02-045.asp

Core Security Technologies Advisory
http://www.corest.com/common/showdoc.php?idx=262&idxseccion=10

X-Force Database
http://www.iss.net/security_center/static/9933.php

Microsoft Windows Internet Connection Firewall overview
http://www.microsoft.com/technet/prodtechnol/winxppro/proddocs/hnw_understanding_firewall.a
sp

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close