CVE Database›Document archive›CVE-2015-0240

CVE-2015-0240

samba: talloc free on uninitialized stack pointer in netlogon server could lead to remote-code execution

Loading…

Severity

Critical

Red Hat Product Security

7.9

CVSS 2.0

Review impact separately from score.

Published · February 23, 2015

Updated · June 27, 2026

Description

An uninitialized pointer use flaw was found in the Samba daemon (smbd). A malicious Samba client could send specially crafted netlogon packets that, when processed by smbd, could potentially lead to arbitrary code execution with the privileges of the user running smbd (by default, the root user).

Statement

This issue does not affect the version of samba package as shipped with Red Hat Enterprise Linux 4 and 5. It does affect the version of samba as shipped with Red Hat Enterprise Linux 6 and 7, as well as the version of samba3x shipped with Red Hat Enterprise Linux 5 and the version of samba4 as shipped with Red Hat Enterprise Linux 6.

Red Hat Product Security has determined that this vulnerability has Important impact on Red Hat Enterprise Linux 7 because the Samba version shipped in this version of the operating system only executes the vulnerable code after a memory allocation failure, making it more difficult to exploit this flaw.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

On Samba versions 4.0.0 and above, add the line:

rpc_server:netlogon=disabled

to the [global] section of your smb.conf. For Samba versions 3.6.x and earlier, this workaround is not available.

CVSS / CWE

CVSS 2.0 · 7.9
AV:A/AC:M/Au:N/C:C/I:C/A:C

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer