Apache Tomcat Application Server 9 Security Technical Implementation Guide
Rules, Groups, and Values defined within the XCCDF Benchmark
-
LockOutRealms failureCount attribute must be set to 5 failed logins for admin users.
A LockOutRealm adds the ability to lock a user out after multiple failed logins. Setting the failureCount attribute to 5 will lock out a user account after 5 failed attempts. LockOutRealm is an i...Rule Medium Severity -
LockOutRealms lockOutTime attribute must be set to 600 seconds (10 minutes) for admin users.
A LockOutRealm adds the ability to specify a lockout time that prevents further attempts after multiple failed logins. Setting the lockOutTime attribute to 600 will lock out a user account for 10 m...Rule Low Severity -
$CATALINA_HOME folder must be owned by the root user, group tomcat.
Tomcat file permissions must be restricted. The standard configuration is to have the folder where Tomcat is installed owned by the root user with the group set to tomcat. The $CATALINA_HOME enviro...Rule Medium Severity -
$CATALINA_BASE/conf/ folder must be owned by root, group tomcat.
Tomcat file permissions must be restricted. The standard configuration is to have Tomcat files contained in the conf/ folder as members of the "tomcat" group. While root has read/write privileges, ...Rule Medium Severity -
$CATALINA_BASE/temp folder permissions must be set to 750.
Tomcat's file permissions must be restricted. The standard configuration is to have all Tomcat files owned by root with the group Tomcat. While root has read/write privileges, tomcat group only has...Rule Low Severity -
$CATALINA_BASE/work/ folder must be owned by tomcat user, group tomcat.
Tomcat file permissions must be restricted. The standard configuration is to have all Tomcat files owned by root with group Tomcat. While root has read/write privileges, group only has read permiss...Rule Medium Severity -
Tomcat server must be patched for security vulnerabilities.
Tomcat is constantly being updated to address newly discovered vulnerabilities, some of which include denial-of-service attacks. To address this risk, the Tomcat administrator must ensure the syste...Rule Medium Severity -
AccessLogValve must be configured for Catalina engine.
The <Engine> container represents the entire request processing machinery associated with a particular Catalina Service. It receives and processes all requests from one or more connectors, and retu...Rule Medium Severity -
Changes to $CATALINA_BASE/conf/ folder must be logged.
The $CATALINA_BASE/conf folder contains configuration files for the Tomcat Catalina server. To provide forensic evidence in the event of file tampering, changes to contents in this folder must be l...Rule Medium Severity -
STRICT_SERVLET_COMPLIANCE must be set to true.
Strict Servlet Compliance forces Tomcat to adhere to standards specifications including but not limited to RFC2109. RFC2109 sets the standard for HTTP session management. This setting affects sever...Rule Low Severity -
RECYCLE_FACADES must be set to true.
If RECYCLE_FACADES is true or if a security manager is in use, a new facade object will be created for each request. This reduces the chances that a bug in an application might expose data from one...Rule Low Severity -
Connectors must be approved by the ISSO.
Connectors are how Tomcat receives requests over a network port, passes them to hosted web applications via HTTP or AJP and then sends back the results to the requestor. A port and a protocol are t...Rule Low Severity -
The application server must alert the system administrator (SA) and information system security offer (ISSO), at a minimum, in the event of a log processing failure.
Logs are essential to monitor the health of the system, investigate changes that occurred to the system, or investigate a security incident. When log processing fails, the events during the failure...Rule Medium Severity -
SRG-APP-000120-AS-000080
Group -
SRG-APP-000001-AS-000001
Group -
SRG-APP-000014-AS-000009
Group -
Secured connectors must be configured to use strong encryption ciphers.
The Tomcat <Connector> element controls the TLS protocol and the associated ciphers used. If a strong cipher is not selected, an attacker may be able to circumvent encryption protections that are c...Rule Medium Severity -
SRG-APP-000015-AS-000010
Group -
HTTP Strict Transport Security (HSTS) must be enabled.
HTTP Strict Transport Security (HSTS) instructs web browsers to only use secure connections for all future requests when communicating with a website. Doing so helps prevent SSL protocol attacks, S...Rule Low Severity -
SRG-APP-000015-AS-000010
Group
Node 2
The content of the drawer really is up to you. It could have form fields, definition lists, text lists, labels, charts, progress bars, etc. Spacing recommendation is 24px margins. You can put tabs in here, and can also make the drawer scrollable.