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

CAT II (Medium)

The NetScaler Gateway providing content filtering must block malicious code upon detection.

Rule ID

SV-289101r1318072_rule

STIG

Citrix NetScaler ALG Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001243

Discussion

Taking an appropriate action based on local organizational incident handling procedures minimizes the impact of this code on the network. This requirement is limited to ALGs web content filters and packet inspection firewalls; that perform malicious code detection as part of their functionality.

Check Content

Verify the NetScaler Gateway is configured to block malicious code upon detection using the Web App Firewall (WAF).

Method 1: GUI Verification
1. Log in to the NetScaler GUI.
2. Navigate to System >> Settings >> Configure Advanced Features and check the box for "Citrix Web App Firewall". Select "OK".
3. Navigate to Security >> Citrix Web App Firewall >> Profiles.
4. Select the active WAF profile and select "Edit".
5. In Advanced Settings menu on the right, select "Security Checks".
6. Verify that critical security checks such as "Cross-Site Scripting (XSS)" and "SQL Injection" have "Block" enabled.

Method 2: CLI Verification
1. Log in to the NetScaler CLI.
2. Run the following command to check if the Application Firewall feature is active:
   show ns feature
3. Locate the "AppFw" feature in the output. If the feature is "OFF", this requirement is Not Applicable and no further auditing is required.
4. If the feature is "ON", run the following command to identify the active globally bound WAF policy:
   show appfw global
5. Run the following command to view the profile settings:
   show appfw profile <profile_name>
6. Verify the output displays that the security checks are configured to block (e.g., Cross-Site Scripting Action: block, SQL Injection Action: block).

If the AppFw feature is enabled but the security checks are not configured to block malicious code, this is a finding.

Fix Text

Configure the NetScaler Gateway to block malicious code upon detection using the WAF.

Method 1: GUI Configuration
1. Log in to the NetScaler GUI.
2. Navigate to Security >> Citrix Web App Firewall >> Profiles.
3. Select the active WAF profile and select "Edit".
4. In Advanced Settings menu on the right, select "Security Checks".
5. In the main panel, locate "Cross-Site Scripting (XSS)" and "SQL Injection".
6. Check the boxes in the "Block" column for these security checks.
7. Select "OK" or "Done".
8. Save the configuration.

Method 2: CLI Configuration
1. Log in to the NetScaler CLI.
2. Run the following command to update the active WAF profile to block malicious code:
   set appfw profile <profile_name> -crossSiteScriptingAction block -SQLInjectionAction block
3. Run the following command to save the configuration:
   save ns config