module

Oracle Business Transaction Management FlashTunnelService Remote Code Execution

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

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.

Authors

rgod rgod@autistici.org
sinn3r sinn3r@metasploit.com
juan vazquez juan.vazquez@metasploit.com

Platform

Java,Windows

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.