logo

Application Error Disclosure via WebSockets

  • Risk:
  • Medium

  • Type:
  • WebSocket Passive
Summary
This payload contains an error/warning message that may disclose sensitive information like the location of the file that produced the unhandled exception. This information can be used to launch further attacks against the web application.
Solution
Review the error payloads which are piped directly to WebSockets. Handle the related exceptions. Consider implementing a mechanism to provide a unique error reference/identifier to the client (browser) while logging the details on the server side and not exposing them to the user.
Back <<