CVE-2014-0178
NoneCVSS
—
EPSS
4.5%
Published
May 28, 2014
CISA due date
—
Cloudanix analysis
A configuration in file sharing software can let logged-in users accidentally see pieces of memory that may contain private data from the server.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Network Service
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw fails to initialize the SRV_SNAPSHOT_ARRAY response field when vfs shadow copy is enabled, allowing remote authenticated users to read uninitialized process memory via FSCTL_GET_SHADOW_COPY_DATA or FSCTL_SRV_ENUMERATE_SNAPSHOTS requests.
Why it matters to the business
Attackers with valid credentials may obtain sensitive information such as credentials or configuration details from server memory, increasing risk of further unauthorized access or data exposure in file-sharing environments.
How an attack unfolds
An attacker authenticates to a vulnerable Samba instance with shadow copy vfs configuration enabled and issues a crafted FSCTL request; the server returns uninitialized memory contents in the response without proper sanitization.
How to fix it
Upgrade affected Samba installations to version 4.0.18, 4.1.8 or later; for listed tomcat (Bitnami) deployments apply the update to version 8.5.99.
How to confirm the fix worked
Confirm Samba version is at or above the fixed releases, review vfs shadow copy configuration, and test that FSCTL responses no longer contain uninitialized memory contents.
Typical attack path
- Obtain valid authentication to the Samba service
- Identify or confirm vfs shadow copy configuration is active
- Send FSCTL_GET_SHADOW_COPY_DATA or FSCTL_SRV_ENUMERATE_SNAPSHOTS request
- Parse response to extract sensitive data from uninitialized memory
How to detect it
Review Samba access and audit logs for FSCTL_GET_SHADOW_COPY_DATA or FSCTL_SRV_ENUMERATE_SNAPSHOTS requests from authenticated sessions; correlate with shadow copy vfs module usage.
What your security team should do
- Apply the listed fixed versions immediately given the public disclosure date and potential for information leakage
- Disable vfs shadow copy if the feature is not required
- Monitor authentication logs for unusual FSCTL activity from authenticated users
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | samba | 0 | 2:4.1.8+dfsg-1 |
| Debian:11 | samba | 0 | 2:4.1.8+dfsg-1 |
| Debian:12 | samba | 0 | 2:4.1.8+dfsg-1 |
| Debian:13 | samba | 0 | 2:4.1.8+dfsg-1 |
| Debian:7 | samba | 0 | 2:3.6.6-6+deb7u4 |
| Mageia:3 | samba | 0 | 3.6.15-1.6.mga3 |
| Mageia:4 | samba | 0 | 3.6.24-1.1.mga4 |
| Red Hat:enterprise_linux:6::client | samba4 | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-client | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-common | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-dc | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-dc-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-debuginfo | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-devel | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-pidl | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-python | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-swat | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-test | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-winbind | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-winbind-clients | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::client | samba4-winbind-krb5-locator | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4 | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-client | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-common | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-dc | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-dc-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-debuginfo | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-devel | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-pidl | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-python | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-swat | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-test | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-winbind | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-winbind-clients | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::computenode | samba4-winbind-krb5-locator | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4 | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-client | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-common | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-dc | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-dc-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-debuginfo | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-devel | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-pidl | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-python | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-swat | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-test | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-winbind | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-winbind-clients | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::server | samba4-winbind-krb5-locator | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4 | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-client | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-common | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-dc | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-dc-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-debuginfo | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-devel | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-libs | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-pidl | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-python | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-swat | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-test | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-winbind | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-winbind-clients | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:6::workstation | samba4-winbind-krb5-locator | 0 | 0:4.0.0-63.el6_5.rc4 |
| Red Hat:enterprise_linux:7::client | libsmbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | libsmbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | libwbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | libwbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-client | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-common | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-dc | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-dc-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-debuginfo | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-pidl | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-python | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-test | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-test-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-vfs-glusterfs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-winbind | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-winbind-clients | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-winbind-krb5-locator | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::client | samba-winbind-modules | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | libsmbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | libsmbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | libwbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | libwbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-client | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-common | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-dc | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-dc-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-debuginfo | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-pidl | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-python | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-test | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-test-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-vfs-glusterfs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-winbind | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-winbind-clients | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-winbind-krb5-locator | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::computenode | samba-winbind-modules | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | libsmbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | libsmbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | libwbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | libwbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-client | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-common | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-dc | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-dc-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-debuginfo | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-pidl | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-python | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-test | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-test-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-vfs-glusterfs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-winbind | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-winbind-clients | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-winbind-krb5-locator | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::server | samba-winbind-modules | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | libsmbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | libsmbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | libwbclient | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | libwbclient-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-client | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-common | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-dc | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-dc-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-debuginfo | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-libs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-pidl | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-python | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-test | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-test-devel | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-vfs-glusterfs | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-winbind | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-winbind-clients | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-winbind-krb5-locator | 0 | 0:4.1.1-35.el7_0 |
| Red Hat:enterprise_linux:7::workstation | samba-winbind-modules | 0 | 0:4.1.1-35.el7_0 |
| Ubuntu:14.04:LTS | samba | 0 | 2:4.1.6+dfsg-1ubuntu2.14.04.2 |
| openSUSE:Tumbleweed | samba | 0 | 4.5.0-1.1 |
Related vulnerabilities
- CVE-2013-4124 Integer overflow in the read_nttrans_ea_list function in nttrans.c in smbd in Samba 3.x… Also affects samba
- CVE-2011-2522 Multiple cross-site request forgery (CSRF) vulnerabilities in the Samba Web… Also affects samba
- CVE-2010-2063 Buffer overflow in the SMB1 packet chaining implementation in the chain_reply function in… Also affects samba
- CVE-2010-0926 The default configuration of smbd in Samba before 3.3.11, 3.4.x before 3.4.6, and 3.5.x… Also affects samba
- CVE-2008-1105 Heap-based buffer overflow in the receive_smb_raw function in util/sock.c in Samba 3.0.0… Also affects samba
- CVE-2007-6015 Stack-based buffer overflow in the send_mailslot function in nmbd in Samba 3.0.0 through… Also affects samba
- CVE-2007-5398 Stack-based buffer overflow in the reply_netbios_packet function in nmbd/nmbd_packets.c… Also affects samba
- CVE-2007-2446 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… Also affects samba