10.14 Do not allow cross context requests

Information

Setting crossContext to true allows for an application to call ServletConext.getContext to return a dispatcher for another application.

Allowing crossContext creates the possibility for a malicious application to make requests to a restricted application.

Solution

Set the crossContext attribute in all context.xml files to false :

<Context ... crossContext="false" />

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT, SYSTEM AND INFORMATION INTEGRITY

References: 800-53|CM-7, 800-53|CM-7(1), 800-53|SI-7, 800-53|SI-7(1), CSCv7|4.7

Plugin: Unix

Control ID: 8524c623ac8366f6c8d40407e5913dfe50f1ffb75cbd64f97023e65b7c36ee42