module

Samba is_known_pipename() Arbitrary Module Load

Disclosed
Mar 24, 2017
Created
May 30, 2018

Description

This module triggers an arbitrary shared library load vulnerability
in Samba versions 3.5.0 to 4.4.14, 4.5.10, and 4.6.4. This module
requires valid credentials, a writeable folder in an accessible share,
and knowledge of the server-side path of the writeable folder. In
some cases, anonymous access combined with common filesystem locations
can be used to automatically exploit this vulnerability.

Platform

Linux,Unix

Architectures

cmd, x86, x64, armle, aarch64, mips, mipsle, mips64, mips64le, ppc, ppc64, ppc64le, sparc, sparc64, zarch

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/samba/is_known_pipename
msf exploit(is_known_pipename) > show targets
...targets...
msf exploit(is_known_pipename) > set TARGET < target-id >
msf exploit(is_known_pipename) > show options
...show and set options...
msf exploit(is_known_pipename) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.