TippingPoint Zero Day Initiative
 

Samba ndr_pull_dfs_Info3 Heap Overflow Remote Code Execution Vulnerability

ZDI-12-061: April 18th, 2012

CVE ID

CVSS Score

Affected Vendors

    Samba

Affected Products

    3.6.x

TippingPoint™ IPS Customer Protection

TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 12225. For further product information on the TippingPoint IPS:

Vulnerability Details


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Samba. Authentication is not required to exploit this vulnerability.

The specific flaw exists within Samba's handling of a NDR PULL DFS INFO3 request. By sending a specially crafted packet, it is possible to cause Samba to use a different size for memory allocation than it uses for a memory copy loop. This can result in memory corruption, and may be exploited by an attacker to gain remote code execution.

Vendor Response

Samba has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2011-10-20 - Vulnerability reported to vendor
    2012-04-18 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    Anonymous