saadhan icon indicating copy to clipboard operation
saadhan copied to clipboard

Flask app running in debug mode

Open ghost opened this issue 3 years ago • 0 comments

What happened?

Add a .flaskenv file with server startup config and avoid running the app in debug mode. In case the app encounters an error, the end user is presented with an interactive page that can potentially be exploited to gain an interactive shell on the server.

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ghost avatar Feb 08 '23 09:02 ghost