Code Monkey home page Code Monkey logo

o5logon-fetch's Introduction

o5logon-fetch

A small Java program that attempts to exploit CVE-2012-3137 on vulnerable Oracle 11 servers. By exploiting this vulnerability, you can run offline brute force attacks until you discover a given user’s password, without any apparent audit trail.

Vulnerability Details

A good writeup on the vulnerability, including ways to protect yourself from it, are available here.

Alternative Tools

An alternative to this tool is an mmap script located here.

If you don’t want to use a tool, you can do what these tools do manually by:

  • Obtaining SQL*Plus as part of an Instant Client package from Oracle.
  • Starting a packet capture tool such as Wireshark.
  • Using SQL*Plus to login as the user you want to attack, with a fake password.
  • Using your packet capture tool, find the packet sent by the server with “AUTH_SESSKEY” and “AUTH_VFR_DATA” in the payload, both followed by a long hex string.

Complimentary Tools

Once you use this tool or another method, the next step is to begin brute force attacks against the information you’ve collected.

Requirements

This project was designed with the following in mind:

  • OpenJDK 6, usually easily installed with your OS package manager
  • An older ojdbc6.jar, such as the one included with the basic Instant Client 11.2.0.1 from Oracle

Different JVMs

If you are using a Java implementation besides OpenJDK 6, some of the reflection code in the MitMSocket package may need a few tweaks to work. For example, the default socket implementation may not be called “PlainSocketImpl”.

Instant Client version

As discussed in the writeup linked to above, a new protocol was introduced in later versions of both Instant Client and Oracle servers that inhibits the damage potential of this vulnerability. That said, both clients and servers support older protocols, and by default will allow them.

o5logon-fetch's People

Contributors

hantwister avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.