Rapid7 Vulnerability & Exploit Database

Oracle SMB Relay Code Execution

Back to Search

Oracle SMB Relay Code Execution

Disclosed
04/07/2009
Created
05/30/2018

Description

This module will help you to get Administrator access to OS using an unprivileged Oracle database user (you need only CONNECT and RESOURCE privileges). To do this you must firstly run smb_sniffer or smb_relay module on your sever. Then you must connect to Oracle database and run this module Ora_NTLM_stealer.rb which will connect to your SMB sever with credentials of Oracle RDBMS. So if smb_relay is working, you will get Administrator access to server which runs Oracle. If not than you can decrypt HALFLM hash.

Author(s)

  • Sh2kerr <research[ad]dsecrg.com>

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 auxiliary/admin/oracle/ora_ntlm_stealer
msf auxiliary(ora_ntlm_stealer) > show actions
    ...actions...
msf auxiliary(ora_ntlm_stealer) > set ACTION < action-name >
msf auxiliary(ora_ntlm_stealer) > show options
    ...show and set options...
msf auxiliary(ora_ntlm_stealer) > run 

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

;