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

Update Protection against Mercury Mail Transport System SMTP AUTH CRAM-MD5 Buffer Overflow

Subscribe

Check Point Reference: CPAI-2007-312
Date Published:
Severity:
Last Updated:
Source: Secunia Advisory: SA26519
Industry Reference(s): CVE-2007-4440
Protection Provided by: Security Gateway
  • R75
Who is Vulnerable?
Pegasus Mail Mercury Mail Transport System 4.51 and prior
Vulnerability Description
Mercury Mail Transport System is an email server suite for the Microsoft Windows platform and Novell NetWare file servers. The product supports various popular mail transfer protocols such as SMTP, POP3 and IMAP. The components of the Mercury Mail product are implemented with individual Dynamic Link Library files on the system.
Vulnerability Details
There exists a stack buffer overflow in Mercury Mail Transport System. The vulnerability is due to a boundary error when processing CRAM-MD5 string following the SMTP AUTH command. Successful exploitation of this vulnerability allows remote attackers to create denial of service condition or execute arbitrary code with the privileges of the affected application.
If the attack is not successful in code injection and execution, the target SMTP server process will terminate upon exploitation. Note the service will be restarted automatically.
If an attack results in successful code injection and its subsequent execution, the behaviour of the target host will depend on the intention of the attacker. Note that any code execution will be within the security context of the affected application.

Protection Overview
This protection will detect and block attempts to exploit this vulnerability.

In order for the protection to be activated, update your Security Gateway product to the latest IPS update. For information on how to update IPS, 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.

Security Gateway R75

How Can I Protect My Network?
1. In the IPS tab, click Protections > By Protocol > IPS Software Blade > Application Intelligence > Mail > SMTP.
2. In the right pane, double-click the Mercury Mail Transport System SMTP AUTH CRAM-MD5 Buffer Overflow protection.
3. In the Protection Details window, click on Edit. Choose the protection's Action (Override IPS Policy with: Prevent/Detect), and apply Additional Settings.
4. Install policy on all modules.

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

Attack Name: SMTP Protection Violation
Attack Information: Mercury Mail transport system SMTP AUTH CRAM-MD5 buffer overflow