Lucene search

K
zdiAnonymousZDI-12-068
HistoryApr 18, 2012 - 12:00 a.m.

Samba GetAliasMembership SidArray Remote Code Execution Vulnerability

2012-04-1800:00:00
Anonymous
www.zerodayinitiative.com
47

EPSS

0.701

Percentile

98.0%

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 the way Samba handles GetAliasMembership requests. When parsing the data send in the request Samba uses the field ‘sids’ to create a heap allocation but then uses another field, ‘num_sids’, to write data to the allocation. Because there is no check to see if ‘num_sids’ is smaller than ‘sids’ this could result in a heap buffer overflow that could lead to remote code execution.