Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask app running in debug mode #33

Open
1 task done
ghost opened this issue Feb 8, 2023 · 0 comments
Open
1 task done

Flask app running in debug mode #33

ghost opened this issue Feb 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Feb 8, 2023

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

  • I agree to follow this project's Code of Conduct
@ghost ghost added the bug Something isn't working label Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants