4.4.19 Ensure server headers on requests are removed

Information

A server header contains information about the software used by the server to handle the request. This information can be returned to browsers or web clients in certain situations.

Revealing the specific software version of the server may allow Websphere Liberty to become more vulnerable to attacks against software that is known to contain security holes. Enabling the removeServerHeader on the

Liberty configuration

removes this information and overrides the default value that is sent down in the HTTP header further masking any information about Websphere Liberty implementation.

Solution

Add the removeServerHeader attribute to httpOptions element specified in ${server.config.dir}/configDropins/overrides/*.xml Set the removeServerHeader attribute value to true

<httpEndpoint id="defaultHttpEndpoint"... <httpOptions removeServerHeader=`true`/></httpEndpoint>

See Also

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

Item Details

Category: MEDIA PROTECTION

References: 800-53|MP-6, CSCv7|13.2

Plugin: Unix

Control ID: c35a60ac0f30d87eb837c7c2871562f7e058a8df41e2e20c12f2361c70d62082