Download Netsparker

Ruby-Sinatra Web Framework Stack Trace Disclosure

Netsparker identified a stack trace disclosure (Ruby-Sinatra framework) in the target web server's HTTP response.


An attacker can obtain information such as:
  • Stack trace.
  • Physical file path of template file.
  • Information about the generated exception.
  • Internal IP address.
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. 

Go back to the Complete list of Vulnerability Checks.