Samba 3.6.24/4.0.24/4.1.16/4.2.0 smbd _netr_ServerPasswordSet code

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.9$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Samba 3.6.24/4.0.24/4.1.16/4.2.0. This vulnerability affects the function _netr_ServerPasswordSet of the component smbd. The manipulation results in an unknown weakness. This vulnerability is cataloged as CVE-2015-0240. Furthermore, there is an exploit available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability, which was classified as critical, was found in Samba 3.6.24/4.0.24/4.1.16/4.2.0 (File Transfer Software). Affected is the function _netr_ServerPasswordSet of the component smbd. The manipulation with an unknown input leads to a code vulnerability. CWE is classifying the issue as CWE-17. This is going to have an impact on confidentiality, and integrity.

The weakness was shared 02/23/2015 by Richard van Eeden with Microsoft Vulnerability Research as CVE-2015-0240.html as confirmed advisory (Website). The advisory is shared for download at samba.org. This vulnerability is traded as CVE-2015-0240 since 11/18/2014. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. The advisory points out:

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.

A public exploit has been developed by sleepya in Ruby and been published 2 months after the advisory. The exploit is shared for download at securityfocus.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 81479 (Scientific Linux Security Update : samba on SL7.x x86_64), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Scientific Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 168811 (OpenSuSE Security Update for samba (openSUSE-SU-2016:1064-1)).

Upgrading to version 3.6.25, 4.0.25, 4.1.17 or 4.2.0rc5 eliminates this vulnerability. Applying a patch is able to eliminate this problem. It is possible to mitigate the problem by applying the configuration setting rpc_server:netlogon=disabled. The best possible mitigation is suggested to be patching the affected component. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 19644.

The vulnerability is also documented in the databases at X-Force (101071), Exploit-DB (36741), Tenable (81479), SecurityFocus (BID 72711†) and SecurityTracker (ID 1031783†). Further details are available at isc.sans.edu. The entries VDB-68821, VDB-79858, VDB-79859 and VDB-79860 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.5
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Code
CWE: CWE-17
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: sleepya
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 81479
Nessus Name: Scientific Linux Security Update : samba on SL7.x x86_64
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 703171
OpenVAS Name: Debian Security Advisory DSA 3171-1 (samba - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: smb_uninit_cred.rb
MetaSploit Name: Samba _netr_ServerPasswordSet Uninitialized Credential State
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Samba 3.6.25/4.0.25/4.1.17/4.2.0rc5
Config: rpc_server:netlogon=disabled
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

11/18/2014 🔍
02/23/2015 +97 days 🔍
02/23/2015 +0 days 🔍
02/23/2015 +0 days 🔍
02/23/2015 +0 days 🔍
02/23/2015 +0 days 🔍
02/24/2015 +1 days 🔍
02/24/2015 +0 days 🔍
02/24/2015 +0 days 🔍
04/13/2015 +48 days 🔍
04/13/2015 +0 days 🔍
05/09/2025 +3679 days 🔍

Sourcesinfo

Product: samba.org

Advisory: CVE-2015-0240.html
Researcher: Richard van Eeden
Organization: Microsoft Vulnerability Research
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-0240 (🔍)
GCVE (CVE): GCVE-0-2015-0240
GCVE (VulDB): GCVE-100-69204

OVAL: 🔍

X-Force: 101071 - Samba smbd file server code execution
SecurityFocus: 72711 - Samba 'TALLOC_FREE()' Function Remote Code Execution Vulnerability
SecurityTracker: 1031783 - Samba smbd Memory Free Error Lets Remote Users Execute Arbitrary Code with Root Privileges
Vulnerability Center: 48724 - Samba Remote Code Execution Iin Smbd File Server Daemon, Critical

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍

Entryinfo

Created: 02/24/2015 09:21
Updated: 05/09/2025 22:46
Changes: 02/24/2015 09:21 (92), 06/20/2017 08:51 (14), 03/10/2022 15:31 (3), 03/10/2022 15:38 (1), 12/03/2024 00:03 (19), 05/09/2025 22:46 (1)
Complete: 🔍
Cache ID: 216:75B:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!