Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-222950 | TCAT-AS-000470 | SV-222950r960963_rule | Medium |
Description |
---|
Stack tracing provides debugging information from the application call stacks when a runtime error is encountered. If stack tracing is left enabled, Tomcat will provide this call stack information to the requestor which could result in the loss of sensitive information or data that could be used to compromise the system. As with all STIG settings, it is acceptable to temporarily enable for troubleshooting and debugging purposes but the setting must not be left enabled after troubleshooting tasks have been completed. |
STIG | Date |
---|---|
Apache Tomcat Application Server 9 Security Technical Implementation Guide | 2024-05-23 |
Check Text ( C-24622r426294_chk ) |
---|
From the Tomcat server run the following OS command: sudo cat $CATALINA_BASE/conf/server.xml | grep -i connector Review each connector element, ensure each connector does not have an "allowTrace" setting or ensure the "allowTrace" setting is set to false. Do the same for each application by checking every $CATALINA_BASE/webapps/ sudo cat $CATALINA_BASE/webapps/ If a connector element in the server.xml file or in any of the |
Fix Text (F-24611r426295_fix) |
---|
From the Tomcat server as a privileged user, edit the xml files containing the "allow Trace=true" statement. Remove the "allow Trace=true" statement from the affected xml configuration files and restart the Tomcat server: sudo systemctl restart tomcat sudo systemctl daemon-reload |