Application and Database Error
Unhandled exceptions have two primary risks.
- Denial of service: When an unhandled exception occurs, it might cause memory leakage or consume server resources by performing more process than usual.
- Leaking information: Unhandled exceptions can generate error messages with sensitive information. When these error messages are shown to users, attackers can take advantage of them to develop their attack on the target.
Properly handle all types of exceptions and display a generic error message.
Last updated on May 06, 2021