10.10 Configure maxHttpHeaderSize

Information

The maxHttpHeaderSize limits the size of the request and response headers defined in bytes.

Rationale:

Limiting the size of the header request can help protect against Denial of Service (DoS) requests.

Solution

Set maxHttpHeaderSize for each connector in $CATALINA_HOME/conf/server.xml to the appropriate setting.

maxHttpHeaderSize='1048192'

Default Value:

The default is 8192 bytes.

References:

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

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-5, CSCv7|5.1

Plugin: Unix

Control ID: 4b2829efe851cca67aa8ad7bb1f5264049f076063d907ac6e129a54c526e4c81