4.4.24 Ensure whitelisting of virtual hosts to validate access based on originating endpoint

Information

Restrict access to default and system applications based on originating endpoint.

Restrict access to default and system application based on an originating endpoint.

Solution

- Configure a httpEndpoint element in the [Liberty configuration] ${server.config.dir}/configDropins/overrides/*.xml

For example,

<httpEndpoint id="localHostOnly" host="localhost" httpPort="9081" httpsPort="9444"/> <xhtml:ol start="2"> - Configure the default_host virtualHost element with allowFromEndPointRef pointing to the httpEndpoint value configured above.

<virtualHost id="default_host" allowFromEndpointRef="localHostOnly">
<hostAlias>*:9081</hostAlias>
<hostAlias>*:9444</hostAlias>
</virtualHost>

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3

Plugin: Unix

Control ID: 6c7966c4d91fd1e7f2311a173ed9cf95d8c05e9ef6267021e167bafdec2a2019