Git Product home page Git Product logo

drupalgeddon2's Introduction

Exploit

Hans Topo & g0tmi1k's ruby port of Drupalggedon2 exploit ~ https://github.com/dreadlocked/Drupalgeddon2/

Based on Vitalii Rudnykh's original PoC

This uses Drupal's user/register URL, attacking account/mail AJAX & #post_render parameter, using PHP's exec function.

This method was chosen, as it will return HTTP 200, and render the output in the data JSON response (un-comment the code for timezone/#lazy_builder method, which will return HTTP 500 & blind!) {More Information}.

sa-core-2018-002 exploit

...aka Drupalgeddon 2 exploit

...aka CVE-2018-7600 exploit


Usage:

$ ruby drupalgeddon2.rb https://example.com whoami

...afterwards, just call: curl 'https://example.com/s.php?c=uname -a'

For proxy support, edit the file, replacing with your values. Example:

proxy_addr = '192.168.0.130'
proxy_port = 8080

Drupal Information:

Drupal Advisory ~ https://www.drupal.org/sa-core-2018-002

Vulnerable Versions (Check: https://example.com/CHANGELOG.txt):

  • < 7.58
  • 8.x < 8.3.9
  • 8.4.x < 8.4.6 (Tested)
  • 8.5.x < 8.5.1 (Tested)

Links:

drupalgeddon2's People

Contributors

dreadlocked avatar g0tmi1k avatar

Watchers

James Cloos avatar Naresh Kumar 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.