Rapid7 Vulnerability & Exploit Database

Samba is_known_pipename() Arbitrary Module Load

Back to Search

Samba is_known_pipename() Arbitrary Module Load

Disclosed
03/24/2017
Created
05/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.

Author(s)

  • steelo <knownsteelo@gmail.com>
  • hdm <x@hdm.io>
  • bcoles <bcoles@gmail.com>

Platform

Linux

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;