Rule ID
SV-289092r1318045_rule
Version
V1R1
While the NetScaler can provide enhanced session feedback to end users during logon for troubleshooting purposes, providing too much information in error messages risks compromising the data and security of the application and system. Organizations should carefully consider the structure/content of error messages. Enhanced session feedback should be limited to isolated development environments. Limit error messages to administrative logs for troubleshooting production systems, rather than providing detailed end-user facing error messages. Satisfies: SRG-NET-000273-ALG-000129, SRG-NET-000402-ALG-000130
Verify the NetScaler Gateway generates error messages that provide information necessary for corrective actions without revealing exploitable information by obfuscating authentication error messages. Method 1: GUI Verification 1. Log in to the NetScaler GUI. 2. Navigate to Security >> AAA - Application Traffic. 3. Under "Authentication Settings", select "Change authentication AAA settings". 4. Verify the "Enable Enhanced Authentication Feedback" checkbox is not selected. Method 2: CLI Verification 1. Log in to the NetScaler CLI. 2. Run the following command to view AAA parameters: show aaa parameter 3. Verify the "EnableEnhancedAuthFeedback" parameter is set to "NO". If "Enable Enhanced Authentication Feedback" is selected, this is a finding.
Configure the NetScaler Gateway to generate error messages that provide information necessary for corrective actions without revealing exploitable information. Method 1: GUI Configuration 1. Log in to the NetScaler GUI. 2. Navigate to Security >> AAA - Application Traffic. 3. Under "Authentication Settings", select "Change authentication AAA settings". 4. Uncheck the "Enable Enhanced Authentication Feedback" checkbox. 5. Select "OK". 6. Save the configuration. Method 2: CLI Configuration 1. Log in to the NetScaler CLI. 2. Run the following command to disable enhanced authentication feedback: set aaa parameter -enhancedAuthState DISABLED 3. Run the following command to save the configuration: save ns config