TMAegisBeta
More rules for websphere

IBM WebSphere

TMA-WEBSPHERE-7.1

Ensure the 'hostNameExcludeList' attribute is set to a whitelist of host names

MediumLevel 1Manual reviewwebsphere

Description

Host names can be allowed or blocked from creating inbound TCP connections to different HTTP endpoints. The benchmark marks this recommendation Manual; TMAegis reports it as a manual review item with the audit steps.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Ensure the hostNameExcludeList attribute is set to a list of host names in all tcpOptions elements in the Liberty configuration. grep -w -R -i 'hostNameExcludeList' ${server.config.dir}

How it is fixed

Fix method: Guidance or infrastructure patch

Add the hostNameExcludeList attribute to all tcpOptions elements to ${server.config.dir}/configDropins/overrides/*.xml and set to comma-separated list of host names. <tcpOptions hostNameExcludeList="*.abc.com,sample.all.com" />

Properties

Operating systems
Any
Tags
webspheremanual-review
Reference
CIS IBM WebSphere Liberty Benchmark v1.0.0 - 7.1 Ensure the 'hostNameExcludeList' attribute is set to a whitelist of host names