GithubHelp home page GithubHelp logo

hp-data-protector-rce's Introduction

HP Data Protector Arbitrary Remote Command Execution

This script allows to execute a command with an arbitrary number of arguments. The trick is done by calling the perl.exe interpreter installed with HP Data Protector inside the directory {install_path}/bin/

The existing exploits allows to execute a single command without parameters and this behaviour is unexceptable in most of the pentesting scenarious. The main feature of the script is to bypass that limitation allowing to execute a command with all the needed parameters.

Target OS

  • Microsoft Windows

Tested Version

  • HP Data Protector A.06.20

Usage

hp_data_protector_rce.py <target> <port> <command>

Example

hp_data_protector_rce.py 192.168.1.1 5555 'dir c:\'

hp_data_protector_rce.py 192.168.1.1 5555 'ipconfig /all'

hp_data_protector_rce.py 192.168.1.1 5555 'net user userbackdoor pwdbackdoor /ADD'

Metasploit module

The exploit is also provided with a Metasploit module.

Reference:

http://www.zerodayinitiative.com/advisories/ZDI-11-055/

hp-data-protector-rce's People

Contributors

adipinto avatar

Stargazers

Rafael Caria avatar  avatar  avatar  avatar Saad Azghour avatar Alexandre Dulaunoy avatar ECote avatar Felipe Fortunato avatar  avatar Álvaro Sánchez avatar Ricardo Ruiz  avatar

Watchers

 avatar

Forkers

darrenmartyn

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.