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

Preemptive Protection against Microsoft Exchange IMAP Literals Remote Code Execution Vulnerability (MS07-026)

Subscribe

Check Point Reference: CPAI-2007-057
Date Published:
Severity:
Source: Microsoft Security Bulletin MS07-026
Industry Reference(s):

CVE-2007-0221

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?
Microsoft Exchange Server 2007
Microsoft Exchange Server 2003 SP1
Microsoft Exchange Server 2003 SP2
Microsoft Exchange 2000 Server SP3 with the Exchange 2000 Post-SP3 Update Rollup of August 2004
Vulnerability Description
A denial of service vulnerability exists in Microsoft Exchange Server. Microsoft Exchange Server is a 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 denial of service which may cause the application to stop responding and to arbitrary code execution.
Update/Patch Available
Apply patches:
Microsoft Security Bulletin MS07-026
Vulnerability Details
The vulnerability is due to an error when processing an invalid 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
By enabling this protection, SmartDefense will detect and block malformed and long IMAP literals that exceed a certain length. No update is required to address this vulnerability.

Users are protected against this vulnerability if the Novell NetMail IMAP protection for blocking malformed and long IMAP literals in the Protection section of CPAI-2007-049 has been applied.

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

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