April 08, 2003

Samba patch issued for buffer overflow vulnerability

Attacker could gain remote access to a machine running that software

A software buffer overflow vulnerability in Samba open-source software could give an attacker remote access to a machine running that software, according to security company Digital Defense.

The Samba Team, a group that manages the open-source software, released patches Monday and a new version of the software, Samba 2.2.8a, to address the vulnerability. Samba is a widely used software package that enables users to access and use files, printers and other shared resources on a corporate intranet or on the Internet.

Samba works with a variety of operating systems, including Linux, Unix, OpenVMS and OS/2 and allows files hosted on machines running those operating systems to share files with machines running versions of the Microsoft Windows operating system.

The buffer overflow vulnerability disclosed Monday by Digital Defense is due to an improperly written function within the Samba code.

Buffer overflows occur when a process tries to store more data in a buffer, or temporary data storage area, than it was intended to hold. Malicious hackers can use buffer overflows to place and execute code on compromised machines.

The new vulnerability has been known about within hacking circles for more than a month and was already being used to attack vulnerable systems on the Internet before the Digital Defense advisory was released, according to a security expert with knowledge of the hacking community.

In its advisory, Digital Defense, in San Antonio, Texas, said that it detected an active exploit using the Samba vulnerability on a test system it set up on the Internet.

However, Digital Defense may be to blame for some of those exploits.

Along with its advisory, Digital Defense Monday accidentally posted its own exploit code, a script named "trans2root.pl" on its Security Tools page. (See http://www.digitaldefense.net/labs/securitytools.html.)

When run against a vulnerable system, the exploit provided by Digital Defense would give an attacker total access to the remote system.

"It was an unfortunate incident. We had an individual who was overzealous and released a script we had developed for internal development and testing of the vulnerability," said Rick Fleming, chief technology officer at Digital Defense.

The script was available for download from Digital Defense for approximately 12 hours, but no figures were available on how many copies of the file were downloaded during that time, Fleming said.

While it is common for Digital Defense to release tools that detect and test for the vulnerabilities the company uncovers, the trans2root.pl file was not an example of such a tool, according to Fleming.

"Tools are usually a proof of concept. They're not things that anyone can run. You need a programming background to effectively use the tool," he said.

In addition, Digital Defense usually waits at least a month after the release of a patch from the vendor to release a tool, depending on the severity of the vulnerability. In some cases, no tool is released, Fleming said.

Sign up to receive Security Resource Alerts

Subscribe to the Security Central Newsletter

The one-stop resource center for IT professionals.

White Paper

CA Security Management Solutions

A comprehensive security management solution can help you streamline, as well as grow, your current or evolving business. In this way, a strategic security approach can help you increase your competitiveness in these challenging market conditions.

Download now! »

White paper

Beyond Compliance: The Significant Benefits of Log Management

Find out how you can effectively collect, normalize and archive enterprise-wide, security-related data that is invaluable for security investigation and compliance reporting.

Download now! »

Webcast

Integrated Identity Compliance: Enabling Cost-Effective Role-Based Compliance

This session focuses on the intersection of role management and identity compliance, and addresses the importance of identity compliance in enterprise governance and the challenges that organizations may face in achieving it.

View now! »
©1994-2009 Infoworld, Inc.