Check Point Advisories

Samba WINS Server Name Registration Handling Stack Buffer Overflow (CVE-2007-5398)

Check Point Reference: CPAI-2007-349
Date Published: 28 Oct 2010
Severity: High
Last Updated: Tuesday 24 November, 2015
Source:
Industry Reference:CVE-2007-5398
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable?
Vulnerability Description Samba is an open-source implementation of the file, print, and other network services suite known as SMB/CIFS (Server Message Block/Common Internet File System). A stack-based buffer overflow vulnerability exists in the way Samba handles WINS messages. The vulnerability is due to a boundary error while sending NetBIOS replies. Remote attackers can exploit this vulnerability by sending a specially crafted WINS messages to the Samba WINS interface. Successful exploitation of this vulnerability allows attackers to execute arbitrary code on the vulnerable system in the context of the affected process. If code injection attack is successful, the behaviour of the target is entirely dependent on the intended function of the injected code. The code in such a case would execute within the security of the affected process, commonly the Unix account mapped for the Samba user. In an attack case where code injection is not successful, if Samba server is running in daemon mode, the child process that handles the attacker's connection will terminate.

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, click on Protection tab and select the version of your choice.

Security Gateway R80 / R77 / R75

  1. In the IPS tab, click Protections and find the Samba WINS Server Name Registration Handling Stack Buffer Overflow protection using the Search tool and Edit the protection's settings.
  2. Install policy on all Security Gateways.

This protection's log will contain the following information:

Attack Name:  Windows SMB Protection Violation.
Attack Information:  Samba WINS Server name registration handling stack buffer overflow

×
  Feedback
This website uses cookies for its functionality and for analytics and marketing purposes. By continuing to use this website, you agree to the use of cookies. For more information, please read our Cookies Notice.
OK