GithubHelp home page GithubHelp logo

anthrax3 / strutsy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tahmed11/strutsy

0.0 0.0 0.0 7 KB

Strutsy - Mass exploitation of Apache Struts (CVE-2017-5638) vulnerability

License: MIT License

Python 100.00%

strutsy's Introduction

Strutsy

Strutsy - Mass exploitation of Apache Struts (CVE-2017-5638) vulnerability. Includes blind and time based code injection techniques which significantly reduces false negatives. Other features include mass URL imports to scan multiple targets in one go.

Usage:

python strutsy.py urls.txt windows/linux/default ip-address

All parameters are required.

  1. urls.txt - file containing the urls that are to be tested.
  2. platform - should include either windows/linux/default. Use default if you are not sure if it's a windows or linux enviornment.
  3. ip-address - public facing ip-address required to test blind injection. Please note apache should be installed and the apache log files should be readable in-order to read the http request. If you donot wish to test against this feature input an arbitary ip-address.

urls.txt:

  1. Search for vulnerable struts application from Google dork: Google Dork syntax: inurl:"struts" filetype:action I used pagodo (https://github.com/opsdisk/pagodo)to save the output: python pagodo.py -g dork.txt -l 200 -s -e 35.0 -j 1.1 >> urls.txt

  2. Import URLs from Burp Suite after crawling your target.

  3. Include the URL you wish to scan by manually including it in url.txt file.

This module exploits vulnerable Apache Struts (CVE-2017-5638) which fails to validate Content-Type HTTP headers resulting in arbitrary command execution. The original exploit (https://www.exploit-db.com/exploits/41570/) has been modified to include blind and time based blind command injection for windows and linux platforms. Please note the tool actively exploits the remote system hence please ensure you have permission to scan the target first before using this tool.

Vulnerable Apache struts versions: 2.3.5 through 2.3.31 and 2.5 through 2.5.10.

Tested on Windows 2008 and linux platforms.

strutsy's People

Contributors

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