Samba up to 4.1.10 nmbd NetBIOS Name Services Daemon code injection

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.
8.7$5k-$25k0.00

Summaryinfo

A vulnerability, which was classified as very critical, has been found in Samba. The affected element is an unknown function of the component nmbd NetBIOS Name Services Daemon. The manipulation leads to code injection. This vulnerability is documented as CVE-2014-3560. There is not any exploit available. It is recommended to apply a patch to fix this issue.

Detailsinfo

A vulnerability was found in Samba (File Transfer Software) and classified as very critical. This issue affects an unknown functionality of the component nmbd NetBIOS Name Services Daemon. The manipulation with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability.

The weakness was released 08/02/2014 by Volker Lendecke with SerNet as Remote code execution in nmbd as confirmed advisory (Website). It is possible to read the advisory at samba.org. The identification of this vulnerability is CVE-2014-3560 since 05/14/2014. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. The technical details are unknown and an exploit is not publicly available. The pricing for an exploit might be around USD $5k-$25k at the moment (estimation calculated on 02/10/2022). The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.

We expect the 0-day to have been worth approximately $100k and more. The vulnerability scanner Nessus provides a plugin with the ID 77009 (Oracle Linux 7 : samba (ELSA-2014-1008)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The security flaw can be detected with the following NASL code:

if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libsmbclient-4.1.1-37.el7_0")) flag++;
if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libsmbclient-devel-4.1.1-37.el7_0")) flag++;
if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libwbclient-4.1.1-37.el7_0")) flag++;
The commercial vulnerability scanner Qualys is able to test this issue with plugin 122507 (CentOS Security Update for samba4 (CESA-2014:1009)). The code will run with root privileges.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at samba.org. It is possible to mitigate the problem by applying the configuration setting Disable nmbd. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 16668.

The vulnerability is also documented in the databases at X-Force (95081), Tenable (77009), SecurityFocus (BID 69021†), Secunia (SA59583†) and SecurityTracker (ID 1030663†). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 8.7

VulDB Base Score: 10.0
VulDB Temp Score: 8.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 77009
Nessus Name: Oracle Linux 7 : samba (ELSA-2014-1008)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 80056
OpenVAS Name: Oracle Linux Local Check: ELSA-2014-1009
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: e6a848630da3ba958c442438ea131c99fa088605
Config: Disable nmbd
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍

Timelineinfo

05/14/2014 🔍
07/31/2014 +78 days 🔍
08/01/2014 +1 days 🔍
08/02/2014 +1 days 🔍
08/02/2014 +0 days 🔍
08/02/2014 +0 days 🔍
08/03/2014 +1 days 🔍
08/04/2014 +1 days 🔍
08/04/2014 +0 days 🔍
08/06/2014 +2 days 🔍
08/06/2014 +0 days 🔍
02/10/2022 +2745 days 🔍

Sourcesinfo

Product: samba.org

Advisory: Remote code execution in nmbd
Researcher: Volker Lendecke
Organization: SerNet
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-3560 (🔍)
GCVE (CVE): GCVE-0-2014-3560
GCVE (VulDB): GCVE-100-67271

OVAL: 🔍
IAVM: 🔍

X-Force: 95081 - Samba nmbd buffer overflow, High Risk
SecurityFocus: 69021 - Samba 'nmbd' NetBIOS Name Services Daemon Remote Code Execution Vulnerability
Secunia: 59583 - Samba nbmd "unstrcpy()" Buffer Overflow Vulnerability, Moderately Critical
SecurityTracker: 1030663
Vulnerability Center: 45662 - Samba 4.0 - 4.1.10 Remote Code Execution in nmbd, High

Entryinfo

Created: 08/04/2014 10:22
Updated: 02/10/2022 07:41
Changes: 08/04/2014 10:22 (94), 11/06/2018 08:01 (9), 02/10/2022 07:41 (4)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!