Description
This module exploits a vulnerability in Oracle Application Testing Suite (OATS). In the Load Testing interface, a remote user can abuse the custom report template selector, and cause the DownloadServlet class to read any file on the server as SYSTEM. Since the Oracle application contains multiple configuration files that include encrypted credentials, and that there are public resources for decryption, it is actually possible to gain remote code execution by leveraging this directory traversal attack.
Please note that authentication is required. By default, OATS has two built-in accounts: default and administrator. You could try to target those first.
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 auxiliary/gather/oats_downloadservlet_traversalmsf undefined(oats_downloadservlet_traversal) > show actions ...actions...msf undefined(oats_downloadservlet_traversal) > set ACTION < action-name >msf undefined(oats_downloadservlet_traversal) > show options ...show and set options...msf undefined(oats_downloadservlet_traversal) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub