Rapid7 Vulnerability & Exploit Database

Oracle Business Transaction Management FlashTunnelService Remote Code Execution

Back to Search

Oracle Business Transaction Management FlashTunnelService Remote Code Execution



This module exploits abuses the FlashTunnelService SOAP web service on Oracle Business Transaction Management 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, 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.


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




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
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