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-289098

CAT II (Medium)

The NetScaler Gateway must restrict or block harmful or suspicious communications traffic by controlling the flow of information between interconnected networks based on attribute- and content-based inspection of the source, destination, headers, and/or content of the communications traffic.

Rule ID

SV-289098r1318063_rule

STIG

Citrix NetScaler ALG Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001414

Discussion

The NetScaler Gateway must restrict or block harmful or suspicious communications traffic by controlling the flow of information between interconnected networks based on attribute- and content-based inspection of the source, destination, headers, and/or content of the communications traffic.

Check Content

Verify the NetScaler Gateway restricts harmful or suspicious traffic by performing content-based inspection using the Web Application Firewall (WAF).

Method 1: GUI Verification
1. Log in to the NetScaler GUI.
2. Navigate to System >> Settings >> Configure Advanced Features.
3. Verify "Web App Firewall" is checked (enabled).
4. Navigate to Security >> Citrix Web App Firewall >> Policies >> Firewall.
5. Select "Policy Manager".
6. Select "Default Global" from the "Bind Point" drop-down menu and select "Continue".
7. Verify an active WAF policy is bound and note the associated Profile name.
8. Navigate to Security >> Citrix Web App Firewall >> Profiles.
9. Select the noted AppFw Profile and select "Edit".
10. In Advanced Settings menu on the right, select "Security Checks".
11. Verify that "SQL Injection" and "Cross-Site Scripting (XSS)" both have "Block" enabled.

Method 2: CLI Verification
1. Log in to the NetScaler CLI.
2. Run the following command to verify the WAF feature is enabled:
   show ns feature
3. Verify the output shows "AppFw" as "ON".
4. Run the following command to view active globally bound WAF policies:
   show appfw global
5. Note the profile name associated with the active policy.
6. Run the following command, replacing "<profile_name>" with the name of the active profile:
   show appfw profile <profile_name> | grep -i "Action"
7. Verify the output includes the lines "sqliAction: block" and "crossSiteScriptingAction: block".

If the AppFw feature is not enabled, or if SQL Injection or XSS protections are not set to block, this is a finding.

Fix Text

Configure the NetScaler Gateway WAF to restrict harmful traffic using content-based inspection.

Method 1: GUI Configuration
1. Log in to the NetScaler GUI.
2. Navigate to System >> Settings >> Configure Advanced Features, check the box for "Web App Firewall", and select "OK".
3. Navigate to Security >> Citrix Web App Firewall >> Profiles.
4. Select "Add" to create a new profile. Provide a name, set Profile Type to "Web Application", and select "OK".
5. Select the newly created profile and select "Edit".
6. In Advanced Settings menu on the right, select "Security Checks".
7. Locate "SQL Injection" and "Cross-Site Scripting (XSS)" and check the box in the "Block" column for both. Select "OK".
8. Navigate to Security >> Citrix Web App Firewall >> Policies >> Firewall. Select "Add".
9. Provide a name for the policy, select the profile created in Step 4 as the action, enter "true" as the expression, and select "Create".
10. Navigate to Security >> Citrix Web App Firewall >> Policies >> Firewall and select "Policy Manager".
11. Select "Default Global" from the Bind Point drop-down menu and select "Continue".
12. Select "Add Binding", choose the policy created in Step 8, assign a unique priority number, and select "Bind".
13. Save the configuration.

Method 2: CLI Configuration
1. Log in to the NetScaler CLI.
2. Run the following command to enable the Application Firewall feature:
   enable ns feature AppFw
3. Run the following command to create or update an Application Firewall profile with the required content inspection features:
   add appfw profile <profile_name> -sqliAction block log stats -crossSiteScriptingAction block log stats
4. Run the following command to create an AppFw policy linking to the profile:
   add appfw policy <policy_name> true <profile_name>
5. Run the following command to bind the AppFw policy globally:
   bind appfw global <policy_name> -priority <priority_number> -type REQ_DEFAULT
6. Run the following command to save the configuration:
   save ns config