FreeBSD : samba -- remote code execution vulnerability (6f4d96c0-4062-11e7-b291-b499baebfeaf) (SambaCry)

Critical Nessus Plugin ID 100393


The remote FreeBSD host is missing one or more security-related updates.


The samba project reports :

Remote code execution from a writable share.

All versions of Samba from 3.5.0 onwards are vulnerable to a remote code execution vulnerability, allowing a malicious client to upload a shared library to a writable share, and then cause the server to load and execute it.


Update the affected packages.

See Also

Plugin Details

Severity: Critical

ID: 100393

File Name: freebsd_pkg_6f4d96c0406211e7b291b499baebfeaf.nasl

Version: $Revision: 3.10 $

Type: local

Published: 2017/05/25

Modified: 2018/02/01

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

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


Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:samba42, p-cpe:/a:freebsd:freebsd:samba43, p-cpe:/a:freebsd:freebsd:samba44, p-cpe:/a:freebsd:freebsd:samba45, p-cpe:/a:freebsd:freebsd:samba46, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/05/24

Vulnerability Publication Date: 2017/05/24

Exploitable With


Core Impact

Metasploit (Samba is_known_pipename() Arbitrary Module Load)

Reference Information

CVE: CVE-2017-7494