CVE-2015-0240: Critical severity red hat enterprise linux vulnerability
As per upstream samba advisory:
All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an unexpected code execution vulnerability in the smbd file server daemon.
A malicious client could send packets that may set up the stack in such a way that the freeing of memory in a subsequent anonymous netlogon packet could allow execution of arbitrary code. This code would execute with root privileges.
Other sources
The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x before 4.2.0rc5 performs a free operation on an uninitialized stack pointer, which allows remote attackers to execute arbitrary code via crafted Netlogon packets that use the ServerPasswordSet RPC API, as demonstrated by packets reaching the netrServerPasswordSet function in rpcserver/netlogon/srvnetlognt.c.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-0240?
CVE-2015-0240 has a high severity rating due to the potential for remote code execution.
How do I fix CVE-2015-0240?
To fix CVE-2015-0240, upgrade Samba to a version that is not vulnerable, specifically any version after 4.2.0-rc4.
What versions of Samba are affected by CVE-2015-0240?
CVE-2015-0240 affects all Samba versions from 3.5.0 to 4.2.0-rc4.
Can CVE-2015-0240 be exploited remotely?
Yes, CVE-2015-0240 can be exploited remotely by a malicious client sending crafted packets.
What platforms are affected by CVE-2015-0240?
CVE-2015-0240 affects various platforms including Red Hat Enterprise Linux, Ubuntu Linux, and SUSE Linux.