Lucene search

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

Samba SetInfoPolicy AuditEventsInfo Remote Code Execution Vulnerability

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

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.494 Medium

EPSS

Percentile

97.5%

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

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.494 Medium

EPSS

Percentile

97.5%