STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Citrix NetScaler ALG Security Technical Implementation Guide

V-289119

CAT II (Medium)

The NetScaler Gateway that provides intermediary services for HTTP must inspect inbound and outbound HTTP traffic for protocol compliance and protocol anomalies.

Rule ID

SV-289119r1318126_rule

STIG

Citrix NetScaler ALG Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-000366CCI-001125

Discussion

Application protocol anomaly detection examines application layer protocols such as HTTP to identify attacks based on observed deviations in the normal RFC behavior of a protocol or service. This type of monitoring allows for the detection of known and unknown exploits which exploit weaknesses of commonly used protocols. Since protocol anomaly analysis examines the application payload for patterns or anomalies, an HTTP proxy must be included in the ALG. This ALG will be configured to inspect inbound and outbound HTTP communications traffic to detect protocol anomalies such as malformed message and command insertion attacks. All inbound and outbound traffic, including HTTPS, must be inspected. However, the intention of this policy is not to mandate HTTPS inspection by the ALG. Typically, HTTPS traffic is inspected either at the source, destination and/or is directed for inspection by organizationally-defined network termination point.

Check Content

Verify the NetScaler Gateway inspects inbound and outbound HTTP traffic for protocol compliance by enforcing an HTTP Profile with strict validation.

Method 1: GUI Verification
1. Log in to the NetScaler GUI.
2. Navigate to Citrix Gateway >> Virtual Servers.
3. Select the active Gateway Virtual Server and select "Edit".
4. Scroll down to the "Profiles" section and note the name of the bound "HTTP Profile" (e.g., nshttp_default_strict_validation).
5. Navigate to System >> Profiles >> HTTP Profiles.
6. Select the profile noted in Step 4 and select "Edit".
7. Verify the "Drop Invalid HTTP Requests" checkbox is selected.

Method 2: CLI Verification
1. Log in to the NetScaler CLI.
2. Run the following command to identify the bound HTTP Profile:
   show vpn vserver <gateway_vserver_name>
3. Verify an "HTTP profile name" is listed in the output.
4. Run the following command to view the profile settings:
   show ns httpProfile <profile_name>
5. Verify the output displays "Drop invalid HTTP requests: ENABLED".

If an HTTP Profile is not bound to the Gateway Virtual Server, or if the bound profile does not have the "Drop invalid HTTP requests" setting enabled, this is a finding.

Fix Text

Configure the NetScaler Gateway to inspect HTTP traffic for protocol compliance by binding a strict HTTP Profile.

Note: Citrix provides a built-in profile named "nshttp_default_strict_validation" which natively satisfies this requirement, though a custom HTTP Profile may also be used.

Method 1: GUI Configuration
1. Log in to the NetScaler GUI.
2. Navigate to System >> Profiles >> HTTP Profiles.
3. Select "Add" to create a new profile (or edit an existing one).
4. Enter a name, select the "Drop Invalid HTTP Requests" checkbox, and select "Create" (or "OK").
5. Navigate to Citrix Gateway >> Virtual Servers.
6. Select the active Gateway Virtual Server and select "Edit".
7. Scroll down to the "Profiles" section and select the pencil icon to edit.
8. From the "HTTP Profile" drop-down menu, select the strict HTTP profile (e.g., "nshttp_default_strict_validation" or the custom profile created in Step 4).
9. Select "OK" and select "Done".
10. Save the configuration.

Method 2: CLI Configuration
1. Log in to the NetScaler CLI.
2. Run the following command to bind the built-in strict HTTP profile to the Gateway Virtual Server (alternatively, apply a custom profile):
   set vpn vserver <gateway_vserver_name> -httpProfileName nshttp_default_strict_validation
3. Run the following command to save the configuration:
   save ns config