2.1 Alter the Advertised server.info String

Warning! Audit Deprecated

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

View Next Audit Version

Information

The server.info attribute contains the name of the application service. This value is presented to Tomcat clients when clients connect to the Tomcat server.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Perform the following to alter the server platform string that gets displayed when clients connect to the tomcat server.
1. Extract the ServerInfo.properties file from the catalina.jar file:
$ cd $CATALINA_HOME/lib
$ jar xf catalina.jar org/apache/catalina/util/ServerInfo.properties
2. Navigate to the util directory that was created
cd org/apache/catalina/util
3. Open ServerInfo.properties in an editor
4. Update the server.info attribute in the ServerInfo.properties file.
server.info=<SomeWebServer>
5. Update the catalina.jar with the modified ServerInfo.properties file.
$ jar uf catalina.jar org/apache/catalina/util/ServerInfo.properties

See Also

https://workbench.cisecurity.org/files/267

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-30

Plugin: Unix

Control ID: 833d8c74d7f71f2285a5a11e8daf762a160103f60816cdfe2a3c959f9cedfe6c