Rails Debug Mode
A rails application may expose sensitive information if debug mode is enabled.
- debug
- rails
- exposure
Debug mode is used for debugging purposes and is enabled by default. This mode exposes information such as stacktrace, global variables, session variables, request parameters, etc. to the application user.
Impact
A vulnerable application system may disclose sensitive information.
Solution
Disable debug mode in the production environment.
Was this page helpful?