...
Wiki Markup |
---|
\[[MITRE 09|AA. Java References#MITRE 09]\] [CWE ID 397|http://cwe.mitre.org/data/definitions/397.html] "Declaration of Throws for Generic Exception", [CWE ID 537|http://cwe.mitre.org/data/definitions/537.html] "Information Leak Through Java Runtime Error Message" \[[Goetz 04b|AA. Java References#Goetz 04b]\] \[[Tutorials 08|AA. Java References#Tutorials 08]\] [Unchecked Exceptions â The Controversy|http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html] |
...
EXC14EXC12-J. Catch specific exceptions as opposed to the more general RuntimeExceptionDo not allow unsanitized user input to be logged 13. Exceptional Behavior (EXC) EXC12EXC14-J. Do not allow unsanitized user input to be loggedCatch specific exceptions as opposed to the more general RuntimeException