(eEye Issues Advisory) ISS Proventia SMB Parsing Error Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID: 1009236|
SecurityTracker URL: http://securitytracker.com/id/1009236
(Links to External Site)
Updated: Mar 4 2004|
Original Entry Date: Feb 27 2004
Execution of arbitrary code via network, Root access via network, User access via network|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): Proventia A Series XPU 20.15 through 22.9; Proventia G Series XPU 22.3 through 22.9; Proventia M Series XPU 1.3 through 1.7|
A vulnerability was reported in ISS Proventia in the parsing of Server Message Block (SMB) packets. A remote user can execute arbitrary code on the target system.|
The flaw reportedly resides in the ISS Protocol Analysis Module (PAM) component of several ISS products, where the size of certain protocol fields is not properly validated.
A remote user can send a specially crafted SMB packet to cause the target system to execute arbitrary code. When the packet is reassembled for analysis, a heap-based overflow may occur. To trigger the overflow, a remote user can reportedly issue a "SMB Session Setup AndX request" packet with an AccountName parameter with a string of 300 bytes or greater.
Although the vendor report does not credit anyone, eEye Digital Security discovered the flaw. The eEye advisory is available at:
A remote user can execute arbitrary code with the privileges of the target process.|
The vendor has issued a fix, available at:|
Vendor URL: www.iss.net (Links to External Site)
This archive entry is a follow-up to the message listed below.|
Source Message Contents
Subject: [Full-Disclosure] EEYE: RealSecure/BlackICE Server Message Block (SMB) Processing Overflow|
RealSecure/BlackICE Server Message Block (SMB) Processing Overflow
February 26, 2004
February 18, 2004
High (Remote Code Execution)
Internet Security Systems
RealSecure Network 7.0, XPU 20.15 through 22.9
Real Secure Server Sensor 7.0 XPU 20.16 through 22.9
Proventia A Series XPU 20.15 through 22.9
Proventia G Series XPU 22.3 through 22.9
Proventia M Series XPU 1.3 through 1.7
RealSecure Desktop 7.0 eba through ebh
RealSecure Desktop 3.6 ebr through ecb
RealSecure Guard 3.6 ebr through ecb
RealSecure Sentry 3.6 ebr through ecb
BlackICE PC Protection 3.6 cbr through ccb
BlackICE Server Protection 3.6 cbr through ccb
The RealSecure and BlackICE product lines from Internet Security Systems
offer host-based intrusion detection/prevention for large servers and
home networks. By design, these products attempt to identify and block
network attacks and intrusions.
eEye Digital Security has discovered a critical vulnerability in both
RealSecure and BlackICE. The vulnerability allows a remote attacker to
reliably overwrite heap memory with user-controlled data and execute
arbitrary code within the SYSTEM context. This attack will succeed with
BlackICE using its most paranoid settings.
This specific flaw exists within the component that handles the
processing of Server Message Block (SMB) packets. By issuing an
authentication request with a long username value, a direct heap
overwrite is triggered, and reliable code execution is then possible.
An IDS/IPS system, by its very nature, requires that every packet
entering a system be parsed and dealt with accordingly. When BlackICE
and RealSecure encounter an SMB packet, the packet is analyzed,
processed and re-assembled. It is during this assembly phase that our
custom data is passed to an insufficiently sized heap-based buffer. All
processing is conducted before any authentication.
To successfully replicate this vulnerability only one SMB packet is
required. The client must issue an "SMB Session Setup AndX request".
This SMB is used to "set up" a session previously established with the
negotiate protocol. A primary function of this request is to perform a
user login to a remote host. As neither RealSecure nor BlackICE require
the state to be kept, no previous negotiation is required. To cause a
reliable heap overwrite, the AccountName parameter should contain a
string with a length of 300 bytes or greater.
Please refer to the SNIA Common Internet File System Technical Reference
detailed information on the required packet structures.
In the end, this vulnerability equates to a textbook heap overwrite
vulnerability, and code execution is effortless.
Retina Network Security Scanner has been updated to identify this
ISS have released patches for these issues. The patches are available
Retina Network Security Scanner - Free 15 Day Trial
Cathy, The Filthy Few (we'll make up for it in July), and, of course --
all of the eEye massive.
Copyright (c) 1998-2004 eEye Digital Security
Permission is hereby granted for the redistribution of this alert
electronically. It is not to be edited in any way without express
consent of eEye. If you wish to reprint the whole or any part of this
alert in any other medium excluding electronic medium, please e-mail
alert@eEye.com for permission.
The information within this paper may change without notice. Use of this
information constitutes acceptance for use in an AS IS condition. There
are NO warranties with regard to this information. In no event shall the
author be liable for any damages whatsoever arising out of or in
connection with the use or spread of this information. Any use of this
information is at the user's own risk.
Please send suggestions, updates, and comments to:
eEye Digital Security
Full-Disclosure - We believe in it.