What it is
The Servlet does not catch all exceptions.
Impact on systems
| Scope | Impact |
|---|---|
| Confidentiality, Availability | Read Application Data, DoS: Crash, Exit, or Restart When a Servlet throws an exception, the default error response the Servlet container sends back to the user typically includes debugging information. This information is of great value to an attacker. For example, a stack trace might show the attacker a malformed SQL query string, the type of database being used, and the version of the application container. This information enables the attacker to target known vulnerabilities in these components. |
How to prevent it
Implementation
Implement Exception blocks to handle all types of Exceptions.
Source: MITRE CWE catalog · Official entry on the MITRE website