CWE-382: J2EE Bad Practices: Use of System.exit()
VariantDraft
A J2EE application uses System.exit(), which also shuts down its container.
View on MITREBack to CWE Lookup
Extended Description
It is never a good idea for a web application to attempt to shut down the application container. Access to a function that can shut down the application is an avenue for Denial of Service (DoS) attacks.
Technical Details
- Structure
- Simple
Applicable To
Java