IBM WebSphere
TMA-WEBSPHERE-7.2
Ensure the 'hostNameIncludeList 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 hostNameIncludeList attribute is set to a list of host names in all tcpOptions elements in the Liberty configuration. grep -w -R -i 'hostNameIncludeList' ${server.config.dir}
How it is fixed
Fix method: Guidance or infrastructure patch
Add the hostNameIncludeList attribute to all tcpOptions elements to ${server.config.dir}/configDropins/overrides/*.xml and set to comma-separated list of host names. <tcpOptions hostNameIncludeList="*.def.com,sample.here.com" />
Properties
- Operating systems
- Any
- Tags
- webspheremanual-review
- Reference
- CIS IBM WebSphere Liberty Benchmark v1.0.0 - 7.2 Ensure the 'hostNameIncludeList attribute' is set to a whitelist of host names