TippingPoint Zero Day Initiative
 

Samba lsa_io_privilege_set Heap Overflow Vulnerability

ZDI-07-029: July 11th, 2007

CVE ID

Affected Vendors

    Samba

Affected Products

    3.0.x

TippingPoint™ IPS Customer Protection

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

Vulnerability Details

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

The specific flaw exists in the parsing of RPC requests to the LSA RPC interface. When parsing a request to LsarAddPrivilegesToAccount, heap allocation is calculated based on user input. By specifying invalid values, heap blocks can be overwritten leading to remote code execution.

Vendor Response

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

Disclosure Timeline

    2007-04-25 - Vulnerability reported to vendor
    2007-07-11 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    Anonymous