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.

Rationale:

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' />

Default Value:

By default crossContext has a value of false.

References:

https://tomcat.apache.org/tomcat-9.0-doc/config/context.html

See Also

https://workbench.cisecurity.org/files/2509

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CSCv7|4.7

Plugin: Unix

Control ID: 7e3fed2ad81800f0c4da5b1c4bb293421b3589103f3dd9d316e122ac779baf3c