Rapid7 Vulnerability & Exploit Database

Oracle Business Transaction Management FlashTunnelService Remote Code Execution

Back to Search

Oracle Business Transaction Management FlashTunnelService Remote Code Execution

Disclosed
08/07/2012
Created
05/30/2018

Description

This module exploits abuses the FlashTunnelService SOAP web service on Oracle Business Transaction Management 12.1.0.7 to upload arbitrary files, without authentication, using the WriteToFile method. The same method contains a directory traversal vulnerability, which allows to upload the files to arbitrary locations. In order to execute remote code two techniques are provided. If the Oracle app has been deployed in the same WebLogic Samples Domain a JSP can be uploaded to the web root. If a new Domain has been used to deploy the Oracle application, the Windows Management Instrumentation service can be used to execute arbitrary code. Both techniques have been successfully tested on default installs of Oracle BTM 12.1.0.7, Weblogic 12.1.1 and Windows 2003 SP2. Default path traversal depths are provided, but the user can configure the traversal depth using the DEPTH option.

Author(s)

  • rgod <rgod@autistici.org>
  • sinn3r <sinn3r@metasploit.com>
  • juan vazquez <juan.vazquez@metasploit.com>

Platform

Java,Windows

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/windows/http/oracle_btm_writetofile
msf exploit(oracle_btm_writetofile) > show targets
    ...targets...
msf exploit(oracle_btm_writetofile) > set TARGET < target-id >
msf exploit(oracle_btm_writetofile) > show options
    ...show and set options...
msf exploit(oracle_btm_writetofile) > 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

;