Rapid7 Vulnerability & Exploit Database

Oracle 9i XDB FTP UNLOCK Overflow (win32)

Back to Search

Oracle 9i XDB FTP UNLOCK Overflow (win32)



By passing an overly long token to the UNLOCK command, a stack based buffer overflow occurs. David Litchfield, has illustrated multiple vulnerabilities in the Oracle 9i XML Database (XDB), during a seminar on "Variations in exploit methods between Linux and Windows" presented at the Blackhat conference. Oracle9i includes a number of default accounts, including dbsnmp:dbsmp, scott:tiger, system:manager, and sys:change_on_install.


  • MC <mc@metasploit.com>
  • David Litchfield <david@ngssoftware.com>




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/ftp/oracle9i_xdb_ftp_unlock
msf exploit(oracle9i_xdb_ftp_unlock) > show targets
msf exploit(oracle9i_xdb_ftp_unlock) > set TARGET < target-id >
msf exploit(oracle9i_xdb_ftp_unlock) > show options
    ...show and set options...
msf exploit(oracle9i_xdb_ftp_unlock) > 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