SV-222981r615938_rule
V-222981
SRG-APP-000316-AS-000199
TCAT-AS-001030
CAT II
10
From the Tomcat server console as a privileged user edit the $CATALINA_BASE/conf/server.xml file.
sudo nano $CATALINA_BASE/conf/server.xml file
Locate or add the LockOutRealm element. Set LockOutRealm failureCount="5"
EXAMPLE:
<Realm className="org.apache.catalina.realm.LockOutRealm" failureCount="5" lockOutTime="600">
...
</Realm>
From the Tomcat server console, run the following command:
sudo grep -i LockOutRealm $CATALINA_BASE/conf/server.xml.
If there are no results or if the LockOutRealm failureCount setting is not configured to 5, this is a finding.
V-222981
False
TCAT-AS-001030
From the Tomcat server console, run the following command:
sudo grep -i LockOutRealm $CATALINA_BASE/conf/server.xml.
If there are no results or if the LockOutRealm failureCount setting is not configured to 5, this is a finding.
M
4094