The IIS 10.0 website must be configured to limit the size of web requests.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-218754SRG-APP-000246-WSR-000149IIST-SI-000226SV-218754r961152_rule2025-02-112
Description
By setting limits on web requests, it ensures availability of web services and mitigates the risk of buffer overflow type attacks. The maxAllowedContentLength Request Filter limits the number of bytes the server will accept in a request.
ℹ️ Check
Follow the procedures below for each site hosted on the IIS 10.0 web server: Open the IIS 10.0 Manager. Click on the site name. Double-click the "Request Filtering" icon. Click "Edit Feature Settings" in the "Actions" pane. If the "maxAllowedContentLength" value is not explicitly set to "30000000" or less or a length documented and approved by the ISSO, this is a finding.
✔️ Fix
Follow the procedures below for each site hosted on the IIS 10.0 web server: Open the IIS 10.0 Manager. Click the site name under review. Double-click the "Request Filtering" icon. Click "Edit Feature Settings" in the "Actions" pane. Set the "maxAllowedContentLength" value to "30000000" or less.