SV-222982r615938_rule
V-222982
SRG-APP-000316-AS-000199
TCAT-AS-001040
CAT III
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 lockOutTime="600"
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 lockOutTime setting is not configured to 600 (10 minutes), this is a finding.
V-222982
False
TCAT-AS-001040
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 lockOutTime setting is not configured to 600 (10 minutes), this is a finding.
M
4094