29 - Ensure secure is set to true only for SSL-enabled Connectors

Information

The secure attribute is used to convey Connector security status to applications operating over the Connector. This is typically achieved by calling request.isSecure(). Ensure the secure attribute is only set to true for Connectors operating with the SSLEnabled attribute set to true.

Accurately reporting the security state of the Connector will help ensure that applications built on Jetty are not unknowingly relying on security controls that are not in place.

Solution

For each Connector defined in server.xml, set the secure attribute to true for those Connectors having SSLEnabled set to true. Set the secure attribute set to false for those Connectors having SSLEnabled set to false.

By Default secure attribute is set to false.

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-13

Plugin: Unix

Control ID: 211cd3e9c34673da0b46e4ed7f31f38d4068f7c4be7f77103d0f6d8bd08a69b1