Vulnerability & Exploit Database

Back to search

Oracle Forms and Reports Remote Code Execution

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.

Free Metasploit Download

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

 Download Now

Module Name

exploit/multi/http/oracle_reports_rce

Authors

  • miss_sudo <security [at] netinfiltration.com>
  • Mekanismen <mattias [at] gotroot.eu>

References

Targets

  • Linux
  • Windows

Platforms

  • windows
  • linux

Architectures

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