Oracle Linux 6 / 7 : samba (ELSA-2017-1270) (SambaCry)

Critical Nessus Plugin ID 100396


The remote Oracle Linux host is missing one or more security updates.


From Red Hat Security Advisory 2017:1270 :

An update for samba is now available for Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Samba is an open source implementation of the Server Message Block (SMB) protocol and the related Common Internet File System (CIFS) protocol, which allow PC-compatible machines to share files, printers, and various information.

Security Fix(es) :

* A remote code execution flaw was found in Samba. A malicious authenticated samba client, having write access to the samba share, could use this flaw to execute arbitrary code as root. (CVE-2017-7494)

Red Hat would like to thank the Samba project for reporting this issue. Upstream acknowledges steelo as the original reporter.


Update the affected samba packages.

See Also

Plugin Details

Severity: Critical

ID: 100396

File Name: oraclelinux_ELSA-2017-1270.nasl

Version: $Revision: 3.12 $

Type: local

Agent: unix

Published: 2017/05/25

Modified: 2018/02/01

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:H/RL:OF/RC:ND


Base Score: 9.8

Temporal Score: 9.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:X

Vulnerability Information

CPE: p-cpe:/a:oracle:linux:ctdb, p-cpe:/a:oracle:linux:ctdb-tests, p-cpe:/a:oracle:linux:libsmbclient, p-cpe:/a:oracle:linux:libsmbclient-devel, p-cpe:/a:oracle:linux:libwbclient, p-cpe:/a:oracle:linux:libwbclient-devel, p-cpe:/a:oracle:linux:samba, p-cpe:/a:oracle:linux:samba-client, p-cpe:/a:oracle:linux:samba-client-libs, p-cpe:/a:oracle:linux:samba-common, p-cpe:/a:oracle:linux:samba-common-libs, p-cpe:/a:oracle:linux:samba-common-tools, p-cpe:/a:oracle:linux:samba-dc, p-cpe:/a:oracle:linux:samba-dc-libs, p-cpe:/a:oracle:linux:samba-devel, p-cpe:/a:oracle:linux:samba-doc, p-cpe:/a:oracle:linux:samba-domainjoin-gui, p-cpe:/a:oracle:linux:samba-glusterfs, p-cpe:/a:oracle:linux:samba-krb5-printing, p-cpe:/a:oracle:linux:samba-libs, p-cpe:/a:oracle:linux:samba-pidl, p-cpe:/a:oracle:linux:samba-python, p-cpe:/a:oracle:linux:samba-swat, p-cpe:/a:oracle:linux:samba-test, p-cpe:/a:oracle:linux:samba-test-libs, p-cpe:/a:oracle:linux:samba-vfs-glusterfs, p-cpe:/a:oracle:linux:samba-winbind, p-cpe:/a:oracle:linux:samba-winbind-clients, p-cpe:/a:oracle:linux:samba-winbind-devel, p-cpe:/a:oracle:linux:samba-winbind-krb5-locator, p-cpe:/a:oracle:linux:samba-winbind-modules, cpe:/o:oracle:linux:6, cpe:/o:oracle:linux:7

Required KB Items: Host/local_checks_enabled, Host/OracleLinux, Host/RedHat/release, Host/RedHat/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/05/24

Exploitable With


Core Impact

Metasploit (Samba is_known_pipename() Arbitrary Module Load)

Reference Information

CVE: CVE-2017-7494

OSVDB: 158063

RHSA: 2017:1270