39 - Increase the entropy in session identifiers

Information

Having a server that has deterministic session identifiers can lead to session hi-jacking. Specifying a randomClass attribute allows for truly random session identifiers.

By default the entropy attribute on session managers uses the string representation of the Manager class name. Leading to a deterministic session identifier.

Solution

In $JETTY_HOME/etc/context.xml, set the following:
<Manager ... randomClass="java.security.SecureRandom" />
By default the string representation of the Manager class is used for entropy.

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-23(3)

Plugin: Unix

Control ID: 4a19ddde4e7535c8ba4dc6ccc9c3fb1572224680114e753ac53022d454aaff90