GithubHelp home page GithubHelp logo

scriptsandexploits's Introduction

exploits/weblogic/exploit-CVE-2017-3248-bobsecq.py

The script exploit-CVE-2017-3248-bobsecq.py exploits the CVE-2017-3248 (https://www.tenable.com/security/research/tra-2017-07). It is the first script/POC for exploiting the "Oracle WebLogic RMI Registry UnicastRef Object Java Deserialization Remote Code Execution" vulnerability because Tenable (which has discovered this vulnerability) has not published an exploit/POC.

This script can be used for:

  • checking if a weblogic server is vulnerable
  • exploiting the RCE

This script needs the last version of Ysoserial (https://github.com/frohoff/ysoserial)

Version affected by this vulnerability (according to Oracle):

  • 10.3.6.0,
  • 12.1.3.0
  • 12.2.1.0
  • 12.2.1.1

This exploit has been tested on Weblogic Server 12.1.2.0 (without and with ssl).

$ python exploit-CVE-2017-3248-bobsecq.py -h
usage: exploit-CVE-2017-3248-bobsecq.py [-h] -t TARGET -p PORT
                                        [--jip ATTACKERIP]
                                        [--jport ATTACKERPORT]
                                        [--cmd CMDTOEXECUTE] [--check] [--ssl]
                                        --ysopath YSOPATH
                                        [--payloadType PAYLOADTYPE]

optional arguments:
  -h, --help            show this help message and exit
  -t TARGET             target IP
  -p PORT               target port
  --jip ATTACKERIP      Local JRMP listener ip
  --jport ATTACKERPORT  Local JRMP listener port (default: 3412)
  --cmd CMDTOEXECUTE    Command to execute on the target
  --check               Check if vulnerable
  --ssl                 Enable ssl connection
  --ysopath YSOPATH     Ysoserial path
  --payloadType PAYLOADTYPE
                        Payload to use in JRMP listener (default:
                        CommonsCollections5)

scriptsandexploits's People

Contributors

quentinhardy avatar

Watchers

 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.