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

CAT II (Medium)

The NetScaler Gateway providing Public Key Infrastructure (PKI)-based user authentication intermediary services must map authenticated identities to the user account.

Rule ID

SV-289110r1318099_rule

STIG

Citrix NetScaler ALG Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-000187

Discussion

Authorization for access to any network element requires an approved and assigned individual account identifier. To ensure only the assigned individual is using the account, the account must be bound to a user certificate when PKI-based authentication is implemented. This requirement applies to NetScaler Gateway that provides user authentication intermediary services (e.g., authentication gateway or TLS gateway). This does not apply to authentication for the purpose of configuring the device itself (device management).

Check Content

Verify the NetScaler Gateway maps the authenticated PKI identity (from a client certificate) to the corresponding user account in the directory.

Note: This requires an nFactor flow with at least two factors (using a Policy Label container) for certificate inspection and directory lookup.

Method 1: GUI Verification
1. Log in to the NetScaler GUI.
2. Navigate to Security >> AAA - Application Traffic >> Virtual Servers.
3. Select the active AAA Virtual Server and select "Edit".
4. Under the "Advanced Authentication Policies" section in the main panel, select "Authentication Policies".
5. In the Policy Binding list, verify that a certificate-based authentication policy is bound.
6. Verify the "Goto Expression" is set to "NEXT" and the "Next Factor" column for this certificate policy points to an active Policy Label (e.g., an LDAP label).
7. Navigate to Security >> AAA - Application Traffic >> Policies >> Authentication >> Advanced Policies >> Actions.
8. Select the "CERT" profile link and select "Edit" on the active certificate action.
9. Verify the "Two Factor" checkbox is selected and the "Username Field" is populated (e.g., "Subject:CN" or "SubjectAltName:PrincipalName") to extract and map the identity to the directory.

Method 2: CLI Verification
1. Log in to the NetScaler CLI.
2. Run the following command to view policies bound to the AAA Virtual Server:
   show authentication vserver <aaa_vserver_name>
3. Verify the output displays a certificate-based policy bound and that its "NextFactor name" parameter is set to a dedicated Policy Label.
4. Run the following command to verify the certificate action settings:
   show authentication certAction <cert_action_name>
5. Verify the "Two Factor" parameter is set to "ON" and the "User Name Field" is populated.

If a certificate policy is not configured to extract the username and map it to a directory service via a Policy Label, this is a finding.

Fix Text

Configure the NetScaler Gateway to map PKI identities to directory user accounts using an nFactor flow with Policy Labels.

Note: This procedure assumes a primary directory authentication policy (e.g., LDAP) has already been created.

Method 1: GUI Configuration
1. Log in to the NetScaler GUI.
2. Navigate to Security >> AAA - Application Traffic >> Policies >> Authentication >> Advanced Policies >> Actions.
3. Select the "CERT" profile link and select "Add".
4. Enter a name, select the "Two Factor" checkbox, and set the "Username Field" to "Subject:CN" (or the organizational standard). Select "Create".
5. Navigate to Security >> AAA - Application Traffic >> Policies >> Authentication >> Advanced Policies >> Policy. Select "Add".
6. Enter a name, select the certificate action created in Step 4, enter "true" as the expression, and select "Create".
7. Navigate to Security >> AAA - Application Traffic >> Policies >> Authentication >> Advanced Policies >> Policy Label. Select "Add".
8. Enter a name, select "LSCHEMA_INT" for the Login Schema, and select "Continue".
9. Select "Add Binding", choose the existing directory authentication policy (e.g., LDAP), assign a unique priority, and select "Bind". Select "Done".
10. Navigate to Security >> AAA - Application Traffic >> Virtual Servers and edit the active AAA Virtual Server.
11. Under the "Advanced Authentication Policies" section, select "Authentication Policies" (or "No Authentication Policies"). 
12. Select "Add Binding". Select the certificate policy created in Step 6, assign a unique priority, set the "Goto Expression" to "NEXT", set the "Next Factor" drop-down menu to the Policy Label created in Step 8, and select "Bind".
13. Save the configuration.

Method 2: CLI Configuration
1. Log in to the NetScaler CLI.
2. Run the following command to create the certificate action configured to extract the username:
   add authentication certAction <cert_action_name> -twoFactor ON -userNameField "Subject:CN"
3. Run the following command to create the certificate policy:
   add authentication Policy <cert_policy_name> -rule true -action <cert_action_name>
4. Run the following command to create the Policy Label using the built-in invisible login schema:
   add authentication policylabel <policy_label_name> -loginSchema LSCHEMA_INT
5. Run the following command to bind the existing directory authentication policy inside the Policy Label:
   bind authentication policylabel <policy_label_name> -policyName <ldap_policy_name> -priority <priority_number>
6. Run the following command to bind the certificate policy to the AAA Virtual Server and point its next factor to the Policy Label:
   bind authentication vserver <aaa_vserver_name> -policy <cert_policy_name> -priority <priority_number> -nextFactor <policy_label_name> -gotoPriorityExpression NEXT
7. Run the following command to save the configuration:
   save ns config