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

critical Nessus Plugin ID 100393

Language:

Synopsis

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

Description

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.

Solution

Update the affected packages.

See Also

https://www.samba.org/samba/security/CVE-2017-7494.html

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

Plugin Details

Severity: Critical

ID: 100393

File Name: freebsd_pkg_6f4d96c0406211e7b291b499baebfeaf.nasl

Version: 3.14

Type: local

Published: 5/25/2017

Updated: 3/30/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:samba46, p-cpe:/a:freebsd:freebsd:samba44, p-cpe:/a:freebsd:freebsd:samba43, p-cpe:/a:freebsd:freebsd:samba42, p-cpe:/a:freebsd:freebsd:samba45, 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: 5/24/2017

Vulnerability Publication Date: 5/24/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