[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 95/04 - RealSecure/BlackICE Server Message Block (SMB) Processing Overflow



- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 95/04 dated 01.03.04  Time: 14:30  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

RealSecure/BlackICE Server Message Block (SMB) Processing Overflow

Detail
====== 

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.


                  ESB-2004.0167 -- eEye Security Bulletin
    RealSecure/BlackICE Server Message Block (SMB) Processing Overflow
                             27 February 2004


Product:                BlackICE PC Protection 3.6 cbr to ccb
                        BlackICE Server Protection 3.6 cbr to ccb
                        RealSecure Network 7.0, XPU 20.15 to 22.9
                        Real Secure Server Sensor 7.0 XPU 20.16 to 22.9
                        Proventia A Series XPU 20.15 to 22.9
                        Proventia G Series XPU 22.3 to 22.9
                        Proventia M Series XPU 1.3 to 1.7
                        RealSecure Desktop 7.0 eba to ebh
                        RealSecure Desktop 3.6 ebr to ecb
                        RealSecure Guard 3.6 ebr to ecb
                        RealSecure Sentry 3.6 ebr to ecb
Publisher:              eEye Digital Security
Operating System:       Windows Server 2003
                        Windows XP
                        Windows 2000
                        Windows NT
                        Windows ME
                        Windows 98
Impact:                 Administrator Compromise
Access Required:        Remote

- - --------------------------BEGIN INCLUDED TEXT--------------------

RealSecure/BlackICE Server Message Block (SMB) Processing Overflow

Release Date:
February 26, 2004

Date Reported:
February 18, 2004

Severity:
High (Remote Code Execution)

Vendor:
Internet Security Systems

Software Affected:
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

Description:
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.

Technical Description:
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
(http://www.snia.org/tech_activities/CIFS/CIFS-TR-1p00_FINAL.pdf) for detailed information on the required packet structures.

In the end, this vulnerability equates to a textbook heap overwrite vulnerability, and code execution is effortless.

Protection:
Retina Network Security Scanner has been updated to identify this vulnerability.

Vendor Status:
ISS have released patches for these issues. The patches are available
at:
http://www.iss.net/download/

Credit:
Barnaby Jack

Related Links:
Retina Network Security Scanner - Free 15 Day Trial http://www.eeye.com/html/Products/Retina/index.html

Greetings:
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@xxxxxxxx for permission.

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

Feedback
Please send suggestions, updates, and comments to:

eEye Digital Security
http://www.eEye.com
info@xxxxxxxx


- -----END PGP SIGNATURE-----
- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of eEye for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>