Home Page | Skip to Navigation | Skip to Content | Skip to Search | Skip to Footer

Update Protection against Novell NetMail IMAP Verb Literal Buffer Overflow Vulnerability

Subscribe

Check Point Reference: CPAI-2007-049
Date Published:
Severity:
Last Updated:
Source: FrSIRT/ADV-2006-5134
Industry Reference(s): CVE-2006-6424
Protection Provided by: VPN-1
  • NGX R65
  • NGX R62
  • NGX R61
  • NGX R60
  • NG with Application Intelligence R55W
  • NG with Application Intelligence R55
VSX
  • NGX
InterSpect
  • NGX
  • 2.0 and 1.x
Connectra
  • NGX R62
  • NGX R61
Who is Vulnerable?
Novell NetMail version 3.52 and prior
Vulnerability Description
A buffer overflow vulnerability exists in Novell NetMail IMAP service. Novell NetMail is an electronic mail server product that supports various email access and exchange protocols, including the Internet Message Access Protocol (IMAP). IMAP is a standard protocol for accessing e-mail from a local server that provides management of received messages on a remote server. A remote attacker can exploit this issue to trigger a buffer overflow which may lead to an application crash and to arbitrary code execution.
Update/Patch Available
Apply patches:

Novell NetMail 3.52e FTF 2 for NetWare :
http://support.novell.com/cgi-bin/search/searchtid.cgi?/2974927.htm

Novell NetMail 3.52e FTF 2 for Windows :
http://support.novell.com/cgi-bin/search/searchtid.cgi?/2974928.htm

Novell NetMail 3.52e FTF 2 for Linux :
http://support.novell.com/cgi-bin/search/searchtid.cgi?/2974929.htm

Vulnerability Details
The vulnerability is due to a buffer overflow error when processing a malformed IMAP command that contains overly long verb literals. A remote attacker can exploit this flaw by appending verbs to an IMAP command to specify a command continuation request. Successful exploitation may allow an attacker to create a denial of service condition or execute arbitrary code on an affected system.

Protection Overview
Malformed IMAP commands may cause a buffer overflow on an affected IMAP server. The protection addresses this issue by detecting and blocking malformed and long IMAP literals that exceed a certain length, except for the following IMAP commands: FETCH, UID and APPEND.

In order for the protection to be activated, update your VPN-1/InterSpect/Connectra product to the latest SmartDefense update. For information on how to update SmartDefense, go to SBP-2006-05, Protection tab and select the version of your choice.

To configure the defense, select your product from the list below and follow the related protection steps.

Additional Information
The Update released on April 15, 2007 includes the following protections:

Symantec Veritas NetBackup Code Execution Vulnerability (CPAI-2007-045)
Oracle ORADC ActiveX Control Code Execution Vulnerability (CPAI-2007-046)
Trend Micro ServerProtect Buffer Overflow Vulnerabilities (CPAI-2007-047)
Novell Netmail WebAdmin Buffer Overflow Vulnerability (CPAI-2007-048)
Novell NetMail IMAP Verb Literal Buffer Overflow Vulnerability (CPAI-2007-049)
Microsoft Windows Workstation Service Vulnerability (CPAI-2007-050)
Trend Micro OfficeScan ActiveX Buffer Overflow Vulnerability (CPAI-2007-051)
Protect Yourself against FTP Brute Force Attacks (SBP-2007-05)
Protect Yourself against FTP Format Strings Attacks (SBP-2007-06)

VPN-1 NGX R65 & R62

How Can I Protect My Network?
1. In the SmartDefense tab, click Application Intelligence > Mail > Malformed IMAP Commands > Block Long IMAP Literals.
2. In the configuration pane, under Settings > Mode, check Active.



3. Install policy on all modules.

How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:

Attack Name: IMAP Protocol Violation
Attack Information: Overly long IMAP literal detected

VPN-1 NGX R61, R60 & VPN-1 NG with Application Intelligence R55W

How Can I Protect My Network?
1. In the Smartdefense tree, click Application Intelligence > Mail Malformed IMAP Commands.
2. Enable the following protection:

Block Long IMAP Literals

3. Install security policy on all modules.

How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:

Attack Name: IMAP Protocol Violation
Attack Information: Overly long IMAP literal detected

VPN-1 NG with Application Intelligence R55

How Can I Protect My Network?
1. Click Application Intelligence > Mail > Malformed IMAP Commands
2. Enable the following protection:

Block Long IMAP Literals

3. Install security policy.

How Do I Know if My Network is Under Attack?
Rule #99152 will appear on the SmartView Tracker.

VPN-1 VSX NGX

How Can I Protect My Network?
1. Click Application Intelligence > Mail > Malformed IMAP Commands.
2. Enable the following protection:

Block Long IMAP Literals

3. Install security policy on all modules.

How Do I Know if My Network is Under Attack?
Rule #99152 will appear on the SmartView Tracker.

InterSpect NGX

How Can I Protect My Network?
1. In the lefthand menu, click Profiles > Default Protection > SmartDefense. The SmartDefense page opens.
2. In the SmartDefense tree, click Application Intelligence > Mail > Malformed IMAP Commands.
3. Enable the following protection:

Block Long IMAP Literals

4. Install security policy on all modules.

How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:

Attack Name: IMAP Protocol Violation
Attack Information: Overly long IMAP literal detected

InterSpect 2.0

How Can I Protect My Network?
1. Click Application Intelligence > Mail > Malformed IMAP Commands.
2. Enable the following protection:

Block Long IMAP Literals

3. Install security policy on all modules.

How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:

Attack Name: IMAP Protocol Violation
Attack Information: Overly long IMAP literal detected

Connectra NGX R61/R62

How Can I Protect My Network?
1. In the left-hand menu, click Security > SmartDefense > Application Intelligence.
2. In the Dynamic Attacks pane, select the following:

Block Long IMAP Literals



3. Install policy on all modules.

How Do I Know if My Network is Under Attack?
In case of an attack, the following log entries will be displayed:

Attack Name: IMAP Protocol Violation
Attack Information: Overly long IMAP literal detected