Rapid7 Vulnerability & Exploit Database

Oracle Forms and Reports Remote Code Execution

Back to Search

Oracle Forms and Reports Remote Code Execution

Disclosed
01/15/2014
Created
05/30/2018

Description

This module uses two vulnerabilities in Oracle Forms and Reports to get remote code execution on the host. The showenv url can be used to disclose information about a server. A second vulnerability that allows arbitrary reading and writing to the host filesystem can then be used to write a shell from a remote url to a known local path disclosed from the previous vulnerability. The local path being accessible from an URL allows an attacker to perform the remote code execution using, for example, a .jsp shell. This module was tested successfully on Windows and Oracle Forms and Reports 10.1.

Author(s)

  • miss_sudo <security@netinfiltration.com>
  • Mekanismen <mattias@gotroot.eu>

Platform

Linux,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/multi/http/oracle_reports_rce
msf exploit(oracle_reports_rce) > show targets
    ...targets...
msf exploit(oracle_reports_rce) > set TARGET < target-id >
msf exploit(oracle_reports_rce) > show options
    ...show and set options...
msf exploit(oracle_reports_rce) > 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

;