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

CAT II (Medium)

The NetScaler Gateway must implement antispoofing mechanisms to prevent adversaries from falsifying the security attributes indicating the successful application of the security process.

Rule ID

SV-289085r1318024_rule

STIG

Citrix NetScaler ALG Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-004905

Discussion

Some attack vectors operate by altering the security attributes of an information system to intentionally and maliciously implement an insufficient level of security within the system. The alteration of attributes leads organizations to believe that a greater number of security functions are in place and operational than have actually been implemented.

Check Content

Verify the NetScaler Gateway implements Web Application Firewall (WAF) antispoofing mechanisms, specifically Form Field Consistency and CSRF Form Tagging.

Method 1: GUI Verification
1. Log in to the NetScaler GUI.
2. Navigate to System >> Settings >> Configure Advanced Features.
3. Verify that "Web App Firewall" is checked (enabled).
4. Navigate to Security >> Citrix Web App Firewall >> Profiles.
5. Select the AppFw Profile bound to the active Gateway Virtual Server and select "Edit".
6. In Advanced Settings menu on the right, select "Security Checks".
7. Verify that "Form Field Consistency" and "CSRF Form Tagging" 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 "fieldConsistencyAction: block" and "CSRFtagAction: block".

If the "AppFw" feature is not enabled, or if "Form Field Consistency" or "CSRF Tagging" is not set to "block", this is a finding.

Fix Text

Configure the NetScaler Gateway WAF to prevent adversaries from falsifying security attributes.

Method 1: GUI Configuration
1. Log in to the NetScaler GUI.
2. Navigate to System >> Settings >> Configure Advanced Features and check the box for "Web App Firewall". 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". In "Advanced Settings", select "Security Checks".
6. Locate "Form Field Consistency" and "CSRF Form Tagging" and check the "Block" box for both. Select "OK".
7. Navigate to Security >> Citrix Web App Firewall >> Policies. Select "Add".
8. Name the policy, select the profile created in Step 4 as the action, enter "true" as the expression, and select "Create".
9. Navigate to Security >> Citrix Web App Firewall >> Global Bindings.
10. Select "Add Binding", choose the policy created in Step 8, assign a priority number, and select "Bind".
11. Save the configuration.

Method 2: CLI Configuration
1. Log in to the NetScaler CLI.
2. Enable the Application Firewall feature:
   enable ns feature AppFw
3. Create a new Application Firewall profile with the required antispoofing features:
   add appfw profile <profile_name> -fieldConsistencyAction block log stats -csrfTagAction block
4. Create an AppFw policy linking to the profile:
   add appfw policy <policy_name> true <profile_name>
5. Bind the AppFw policy globally:
   bind appfw global <policy_name> -priority <priority_number> -type REQ_DEFAULT
6. Save the configuration:
   save ns config