Python Stack Trace Disclosure Might Lead to Information Disclosure
Netsparker identified a stack trace disclosure (Python) in the target web server's HTTP response.
An attacker can obtain information such as:
- Stack trace.
- Physical file paths of relevant files.
- Information about the generated exception.
This information might help an attacker gain more information and potentially focus on the development of further attacks for the target system.
Configure your application not to provide detailed error pages in production environments. Save all information regarding the error to a backend storage, such as a log or a text file, and show a friendly custom error page to the user.