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

Update Protection against Novell eDirectory dhost HTTPSTK Buffer Overflow Vulnerability

Subscribe

Check Point Reference: CPAI-2009-301
Date Published:
Severity:
Last Updated:
Source: Bugtraq ID: 37042
Protection Provided by: Security Gateway
  • R70
IPS-1
  • IPS-1
  • IPS-1 NGX R65
Who is Vulnerable?
Novell eDirectory 8.8 SP5
Vulnerability Description
A code execution vulnerability exists in Novell eDirectory. Novell eDirectory is a Lightweight Directory Access Protocol (LDAP) server, intended for use as part of an identity management solution. The vulnerability is due to an error in dhost when handling HTTP requests. A remote, authenticated attacker can exploit this vulnerability by sending a specially crafted HTTP request to a vulnerable system. Successful exploitation would allow for execution of arbitrary code.
Update/Patch Available
The vendor has not released an advisory addressing this vulnerability.
Discoverer advisory: http://tcc.hellcode.net/advisories/hellcode-adv005.txt 
Vulnerability Details
The vulnerability is due to lack of boundary validation when handling HTTP requests to the HTTPSTK form, especially the sadminpwd and verifypwd parameters.

Protection Overview
This protection will detect and block HTTP post requests to the eDirectory dhost application with malformed "sadminpwd" parameters.

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 R70

How Can I Protect My Network?
1. In the IPS tab, click Protections > By Protocol > Application Intelligence > LDAP.
2. In the right pane, double-click the Novell eDirectory dhost HTTPSTK 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: LDAP Protections
Attack Information: Novell eDirectory dhost HTTPSTK buffer overflow

IPS-1 & IPS-1 NGX R65

How Can I Protect My Network?
1. In the IPS-1 Policy Manager, click on the Protection tab.
2. In the Protection tree, click Web Intelligence > WWW 2, and select the CGI Attacks protection group.
3. Click Novell eDirectory dhost HTTPSTK buffer overflow (IPS-1 NGX R65 only).
4. In the configuration pane, under Settings, check Active.
5. Click on Install Policy.

How Do I Know if My Network is Under Attack?
Upon attack, the following entries will be logged:

Alert Name: WWW/CGI Attacks Protection Group
Description: Novell eDirectory dhost HTTPSTK buffer overflow