5.1 Use secure Realms

Information

A realm is a database of usernames and passwords used to identify valid users of web applications. Review the Realms configuration to ensure Tomcat is not configured to use MemoryRealm JDBCRealm UserDatabaseRealm or JAASRealm

According to the Tomcat documentation: MemoryRealm and JDBCRealm are not designed for production usage and could result in reduced availability; the UserDatabaseRealm is not intended for large-scale installations; and the JAASRealm is not widely used and therefore the code is not as mature as the other realms.

Solution

Set the Realm className setting in $CATALINA_HOME/conf/server.xml to one of the appropriate realms.

See Also

https://workbench.cisecurity.org/benchmarks/15137

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: f1bd18c10675f9e9daee5844945cab749cc53839eb725ab54122bfc4ed6f9d0e