5.1 Use secure Realms

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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 configured to use JDBCRealm, UserDatabaseRealm, or JAASRealm. Specifically, Tomcat should not utilize MemoryRealm.

According to the Tomcat documentation, MemoryRealm, JDBCRealm are not designed for production usage and could result in reduced availability, the UserDatabaseRealm is not intended for large-scale installations, 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/files/267

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6

Plugin: Unix

Control ID: 0280b15141487033592d2ff736ed6b8c35120052b69e6f48cac00e95b4ef0414