Vulnerability & Exploit Database

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • rgod <rgod [at]>
  • sinn3r <sinn3r [at]>
  • juan vazquez <juan.vazquez [at]>



  • Oracle BTM / Weblogic 12.1.1 with Samples Domain / Java
  • Oracle BTM / Windows 2003 SP2 through WMI


  • java
  • windows


  • java
  • x86



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 and set options... msf exploit(oracle_btm_writetofile) > exploit