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

Free Metasploit Download

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

 Download Now

Module Name

exploit/windows/http/oracle_btm_writetofile

Authors

  • rgod <rgod [at] autistici.org>
  • sinn3r <sinn3r [at] metasploit.com>
  • juan vazquez <juan.vazquez [at] metasploit.com>

References

Targets

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

Platforms

  • java
  • windows

Architectures

  • java
  • x86

Reliability

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