CentOS 6 / 7 : samba (CESA-2017:1270) (SambaCry)

critical Nessus Plugin ID 100428

Synopsis

The remote CentOS host is missing one or more security updates.

Description

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.

Solution

Update the affected samba packages.

See Also

http://www.nessus.org/u?63336008

http://www.nessus.org/u?0810f584

Plugin Details

Severity: Critical

ID: 100428

File Name: centos_RHSA-2017-1270.nasl

Version: 3.16

Type: local

Agent: unix

Published: 5/26/2017

Updated: 3/30/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

CVSS Score Source: CVE-2017-7494

CVSS v3

Risk Factor: Critical

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:C

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/25/2017

Vulnerability Publication Date: 5/30/2017

CISA Known Exploited Vulnerability Due Dates: 4/20/2023

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (Samba is_known_pipename() Arbitrary Module Load)

Reference Information

CVE: CVE-2017-7494

RHSA: 2017:1270