2.2 Alter the Advertised server.number String


The server.number attribute represents the specific version of Tomcat which is executing. This value is presented to Tomcat clients when connect.


Advertising a valid server version may provide attackers with information useful for locating vulnerabilities affecting the server platform. Altering the server version string may increase the complexity for attackers to determine which vulnerabilities affect the server platform.

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


Perform the following to alter the server version string that gets displayed when clients connect to the server.

Extract the ServerInfo.properties file from the catalina.jar file:

$ jar xf catalina.jar org/apache/catalina/util/ServerInfo.properties

Navigate to the util directory that was created

$ cd org/apache/Catalina/util

Open ServerInfo.properties in an editor

Update the server.number attribute


Update the catalina.jar with the modified ServerInfo.properties file.

$ jar uf catalina.jar org/apache/catalina/util/ServerInfo.properties

Default Value:

The default value for the server.number attribute is a four part version number, such as

See Also


Item Details


References: 800-53|CM-7, CSCv7|13.2

Plugin: Unix

Control ID: 1a0136fb42b77e20c2ef1faad4bfa24cf050392039f7ac2f804f2c0992654f98