Skip to content

fuzzers/smb/smb_create_pipe_corrupt crashes on start #20183

Open
@smcintyre-r7

Description

@smcintyre-r7

The auxiliary/fuzzers/smb/smb_create_pipe_corrupt module crashes when running. Found while testing #20161

msf6 auxiliary(fuzzers/smb/smb_create_pipe_corrupt) > show options 

Module options (auxiliary/fuzzers/smb/smb_create_pipe_corrupt):

   Name      Current Setting  Required  Description
   ----      ---------------  --------  -----------
   MAXDEPTH                   no        Specify a maximum byte depth to test
   Proxies                    no        A proxy chain of format type:host:port[,type:host:port][...]
   RHOSTS    127.0.0.1        yes       The target host(s), see https://docs.metasploit.com/docs/using-metasploit/basics/using-metasploit.html
   RPORT     445              yes       The SMB service port (TCP)
   SMBPIPE   \BROWSER         yes       Specify the pipe name to corrupt


View the full module info with the info, or info -d command.

msf6 auxiliary(fuzzers/smb/smb_create_pipe_corrupt) > run
[*] Running module against 127.0.0.1
[-] 127.0.0.1:445 - Auxiliary failed: Rex::Proto::SMB::Exceptions::LoginError Login Failed: undefined method `[]' for nil:NilClass
[-] 127.0.0.1:445 - Call stack:
[-] 127.0.0.1:445 -   /home/smcintyre/Repositories/metasploit-framework.pr/lib/rex/proto/smb/simple_client.rb:121:in `rescue in block in login'
[-] 127.0.0.1:445 -   /home/smcintyre/Repositories/metasploit-framework.pr/lib/rex/proto/smb/simple_client.rb:72:in `block in login'
[-] 127.0.0.1:445 -   /home/smcintyre/Repositories/metasploit-framework.pr/lib/rex/proto/smb/simple_client.rb:307:in `session_lifetime'
[-] 127.0.0.1:445 -   /home/smcintyre/Repositories/metasploit-framework.pr/lib/rex/proto/smb/simple_client.rb:71:in `login'
[-] 127.0.0.1:445 -   /home/smcintyre/Repositories/metasploit-framework.pr/lib/msf/core/exploit/remote/smb/client.rb:188:in `smb_login'
[-] 127.0.0.1:445 -   /home/smcintyre/Repositories/metasploit-framework.pr/modules/auxiliary/fuzzers/smb/smb_create_pipe_corrupt.rb:41:in `run'
[*] Auxiliary module execution completed
msf6 auxiliary(fuzzers/smb/smb_create_pipe_corrupt) > exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions