🌐
Snyk
security.snyk.io › snyk vulnerability database › pip › flask
flask 1.0.1 vulnerabilities | Snyk
Learn more about known flask 1.0.1 vulnerabilities and licenses detected.
🌐
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 - Hacking Flask Applications Executing arbitrary commands using the Werkzeug Debugger One of the very first web applications I made was developed using Flask. It was the best choice since it has a lot …
Discussions

Flask 2.0 is coming, please help us test
Can you expand on async route handlers? What does the performance improvement look like? How was it measured? More on reddit.com
🌐 r/Python
147
1316
April 16, 2021
Flask IP Address Filtering via decorators
I haven't used Flask in a while but this is how you would write a basic decorator: from functools import wraps IP = "192.168.0.1" def decorator(f): @wraps(f) def wrapped(*args, **kwargs): if IP == "192.168.0.1": return f(*args, **kwargs) else: return abort(403) return wrapped You could then call it with @app.route('/') @decorator def hello_world(): return "Hello" More on reddit.com
🌐 r/learnpython
10
5
July 16, 2013
Trying to run flask on localhost. error connection refused.
You can try getting your computer up and connect using that instead of localhost in your browser, let's see if you will have something that way. More on reddit.com
🌐 r/flask
5
1
April 17, 2020
Why does "localhost" not work?
I finally figured it out, I had this in my config.py file: SERVER_NAME = 'localhost'. I removed it and it worked. More on reddit.com
🌐 r/flask
9
2
September 10, 2017
🌐
HackTricks
book.hacktricks.xyz › home › network services pentesting › pentesting web › werkzeug
Werkzeug / Flask Debug - HackTricks
2 days ago - Upon collating all necessary data, the exploit script can be executed to generate the Werkzeug console PIN. The script uses the assembled probably_public_bits and private_bits to create a hash, which then undergoes further processing to produce ...
🌐
Vulmon
vulmon.com › home › search results
flask vulnerabilities and exploits
This affects the package Flask-Unchained prior to 0.9.0. When using the the _validate_redirect_url function, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as \\\evil.com/path.
🌐
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.
🌐
Snyk
snyk.io › snyk vulnerability database › pip
flask | Snyk
June 30, 2021 - Security vulnerabilities and package health score for pip package flask
🌐
GitHub
github.com › stephenbradshaw › breakableflask
GitHub - stephenbradshaw/breakableflask: Simple vulnearable Flask web application · GitHub
./main.py --database_type=postgres --database_user=postgres --database_password=password --database_host=127.0.0.1 --database_port=5432
Starred by 31 users
Forked by 218 users
Languages   Python
🌐
GitHub
github.com › lokori › flask-vuln
GitHub - lokori/flask-vuln: Pretty vulnerable flask app..
September 29, 2017 - Pretty vulnerable flask app.. Contribute to lokori/flask-vuln development by creating an account on GitHub.
Starred by 22 users
Forked by 12 users
Languages   HTML 63.2% | Python 32.2% | Shell 2.5% | Dockerfile 2.1% | HTML 63.2% | Python 32.2% | Shell 2.5% | Dockerfile 2.1%
Find elsewhere
🌐
GitHub
github.com › manuelz120 › extremely-vulnerable-flask-app
GitHub - manuelz120/extremely-vulnerable-flask-app: Intentionally vulnerable Python / Flask application, built for educational purposes. · GitHub
git clone https://github.com/manuelz120/extremely-vulnerable-flask-app cd extremely-vulnerable-flask-app python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt python3 -m flask run # Can be stopped using CTRL+C ... docker run --name extremely_vulnerable_flask_app -p 5000:80 ghcr.io/manuelz120/extremely-vulnerable-flask-app:latest ... git clone https://github.com/manuelz120/extremely-vulnerable-flask-app cd extremely-vulnerable-flask-app docker build .
Starred by 7 users
Forked by 13 users
Languages   Python 50.0% | HTML 48.6% | Dockerfile 1.4%
🌐
iltosec
iltosec.com › blog › post › exploiting-flask-authentication-and-rce-vulnerabilities-chain-lab-writeup
Exploiting Flask Authentication and RCE Vulnerabilities – Chain Lab Writeup
December 2, 2024 - The reverse shell connected back ... system. By exploiting a Flask cookie vulnerability and combining it with insecure file upload functionality, we were able to gain remote code execution (RCE) on the target system...
🌐
CVE Details
cvedetails.com › version › 986424 › Flask-user-Project-Flask-user-1.0.1.1.html
Flask-user Project Flask-user 1.0.1.1 security vulnerabilities, CVEs
Flask-user Project Flask-user version 1.0.1.1 security vulnerabilities, CVEs, exploits, vulnerability statistics, CVSS scores and references
🌐
Nvisium
blog.nvisium.com › injecting-flask
Injecting Flask
July 5, 2018 - Note: the Python code calls render_template with a template that isn’t an autoescaped file extension. Depending on the code in the template, hello.unsafe, we may be vulnerable to Cross-Site Scripting.
🌐
Exploit Notes
exploit-notes.hdks.org › exploit › web › framework › python › flask-jinja2-pentesting
Flask Jinja2 Pentesting - Exploit Notes
September 22, 2023 - There may be comments in the HTML ... for exploitation. If the target organization (or user) manages the source code in such like GitHub or GitLab, we might be able to find the source code. Here is GitHub Dorks examples. Try searching the repository with the site name or project name in GitHub. <site_name> language:Python <site_name> language:PHP # e.g. ExampleBlog language:PHP · #!/usr/bin/env python3 import requests ip = '10.0.0.1' port '80' ...
🌐
Coventry University
github.coventry.ac.uk › pages › aa9863 › 5067CEM › 9_SSTI › ExploitSSTI
Exploiting SSTI - 5067CEM: Web Security
Flask is pretty trivial to setup, and it lets me try various inputs (and see the errors that come back) While we cannot call the import directly, we can call functions associated with an object. For example, python strings, have the upper function, that will convert a sting to uppercase.
🌐
GitHub
github.com › wdahlenburg › werkzeug-debug-console-bypass
GitHub - wdahlenburg/werkzeug-debug-console-bypass: Werkzeug has a debug console that requires a pin. It's possible to bypass this with an LFI vulnerability or use it as a local privilege escalation vector. · GitHub
* Running on http://172.17.0.4:7777/ (Press CTRL+C to quit) * Restarting with stat User: werkzeug-user Module: flask.app Module Name: Flask App Location: /usr/local/lib/python3.9/site-packages/flask/app.py Mac Address: 2485377892356 Werkzeug Machine ID: b'ea1fc30b6f4a173cea015d229c6b55b69d0ff00819670374d7a02397bc236523a57e9bab0c6e6167470ac65b66075388' * Debugger is active!
Starred by 66 users
Forked by 8 users
Languages   Python 85.8% | Dockerfile 14.2%
🌐
Exploit-DB
exploit-db.com › exploits › 43905
Werkzeug - 'Debug Shell' Command Execution - Multiple remote Exploit
January 28, 2018 - Werkzeug - 'Debug Shell' Command Execution.. remote exploit for Multiple platform