Samba up to 3.6.23/4.0.17/4.1.7 vfs Shadow Copy SRV_SNAPSHOT_ARRAY initialization

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.1$0-$5k0.00

A vulnerability was found in Samba up to 3.6.23/4.0.17/4.1.7 (File Transfer Software) and classified as problematic. Affected by this issue is an unknown code of the component vfs Shadow Copy Handler. The manipulation of the argument SRV_SNAPSHOT_ARRAY with an unknown input leads to a initialization vulnerability. Using CWE to declare the problem leads to CWE-665. The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used. Impacted is confidentiality. CVE summarizes:

Samba 3.6.6 through 3.6.23, 4.0.x before 4.0.18, and 4.1.x before 4.1.8, when a certain vfs shadow copy configuration is enabled, does not properly initialize the SRV_SNAPSHOT_ARRAY response field, which allows remote authenticated users to obtain potentially sensitive information from process memory via a (1) FSCTL_GET_SHADOW_COPY_DATA or (2) FSCTL_SRV_ENUMERATE_SNAPSHOTS request.

The weakness was presented 05/27/2014 by Christof Schmitt with Samba as CVE-2014-0178.html as confirmed advisory (Website). The advisory is shared for download at samba.org. The public release was coordinated in cooperation with the vendor. This vulnerability is handled as CVE-2014-0178 since 12/03/2013. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The advisory points out:

In preparing a response to an authenticated FSCTL_GET_SHADOW_COPY_DATA or FSCTL_SRV_ENUMERATE_SNAPSHOTS client request, affected versions of Samba do not initialize 8 bytes of the 16 byte SRV_SNAPSHOT_ARRAY response field. The uninitialized buffer is sent back to the client. A non-default VFS module providing the get_shadow_copy_data_fn() hook must be explicitly enabled for Samba to process the aforementioned client requests. Therefore, only configurations with "shadow_copy" or "shadow_copy2" specified for the "vfs objects" parameter are vulnerable.

The vulnerability scanner Nessus provides a plugin with the ID 74290 (Samba 3.5.x / 3.6.x < 3.6.25 / 4.1.x < 4.1.8 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Misc.. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185124 (HPE HP-UX CIFS-Server Multiple Vulnerabilities (HPSBUX03574)).

Upgrading to version 4.0.18 or 4.1.8 eliminates this vulnerability. The upgrade is hosted for download at samba.org. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (93455) and Tenable (74290). See 7563, 11176, 12681 and 43529 for similar entries.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Initialization
CWE: CWE-665
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 74290
Nessus Name: Samba 3.5.x / 3.6.x < 3.6.25 / 4.1.x < 4.1.8 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

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

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: Samba 4.0.18/4.1.8

Timelineinfo

12/03/2013 🔍
05/27/2014 +175 days 🔍
05/27/2014 +0 days 🔍
05/28/2014 +1 days 🔍
05/28/2014 +0 days 🔍
05/28/2014 +0 days 🔍
05/28/2014 +0 days 🔍
05/29/2014 +1 days 🔍
06/03/2014 +5 days 🔍
06/16/2014 +13 days 🔍
07/02/2014 +16 days 🔍
06/20/2021 +2545 days 🔍

Sourcesinfo

Product: samba.org

Advisory: CVE-2014-0178.html
Researcher: Christof Schmitt
Organization: Samba
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2014-0178 (🔍)
OVAL: 🔍
IAVM: 🔍

X-Force: 93455 - Samba shadow copy information disclosure, Medium Risk
SecurityTracker: 1030308 - Samba Discloses Portions of System Memory to Remote Authenticated Users
Vulnerability Center: 45008 - Samba 3.6.6 through 3.6.23, 4.0.x before 4.0.18, and 4.1.x before 4.1.8 Remote Information Disclosure, Low
SecurityFocus: 67686 - Samba Uninitialized Memory Information Disclosure Vulnerability
Secunia: 59378 - SUSE update for samba, Less Critical

See also: 🔍

Entryinfo

Created: 05/28/2014 14:28
Updated: 06/20/2021 12:57
Changes: 05/28/2014 14:28 (82), 05/31/2017 08:46 (16), 06/20/2021 12:57 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!