Katalog CWE

CWE-600 · Słabość

Uncaught Exception in Servlet

Abstrakcja
Wariant
Status
Szkic
Dodano
15 grudnia 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

The Servlet does not catch all exceptions, which may reveal sensitive debugging information.

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.

Inne nazwy

Missing Catch Block

Skutki

  • Confidentiality, Availability

    Read Application Data; DoS: Crash, Exit, or Restart

Zapobieganie

  • Implementation

    Implement Exception blocks to handle all types of Exceptions.

Słabość nadrzędna

Może prowadzić do

Pokrewna

Kiedy powstaje

Dotyczy

Java, Web Server

Uwagi

The "Missing Catch Block" concept is probably broader than just Servlets, but the broader concept is not sufficiently covered in CWE.

Wpis z katalogu CWE 4.20.