Check: APSC-DV-002580
Application Security and Development STIG:
APSC-DV-002580
(in versions v5 r3 through v4 r2)
Title
The application must reveal error messages only to the ISSO, ISSM, or SA. (Cat II impact)
Discussion
Only authorized personnel should be aware of errors and the details of the errors. Error messages are an indicator of an organization's operational state or can identify application components. Additionally, Personally Identifiable Information (PII) and operational information must not be revealed through error messages to unauthorized personnel or their designated representatives. The structure and content of error messages must be carefully considered by the organization and development team. The extent to which the information system is able to identify and handle error conditions is guided by organizational policy and operational requirements. Error messages should not include variable names, variable types, SQL strings, or source code. Errors that contain field names from the screen and a description of what should be in the field should not be considered a finding.
Check Content
Review the application documentation and interview the application administrator for details regarding how the application displays error messages. Authenticate to the application as a non-privileged user and attempt to execute functionality that will generate error messages. Review the error messages displayed to ensure no sensitive information is provided to end users. Authenticate as a privileged user and repeat tests. If error messages are designed to provide users with just enough detail to pass along to support staff in order to aid in troubleshooting such as date, time or other generic information, this is not a finding. If detailed error messages are provided to privileged users, this is not a finding. If variable names, SQL strings, system path information, or source or program code are displayed in error messages sent to non-privileged users, this is a finding.
Fix Text
Configure the server to only send error messages containing system information or sensitive data to privileged users. Use generic error messages for non-privileged users.
Additional Identifiers
Rule ID: SV-222611r879656_rule
Vulnerability ID: V-222611
Group Title: SRG-APP-000267
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001314 |
The information system reveals error messages only to organization-defined personnel or roles. |
Controls
Number | Title |
---|---|
SI-11 |
Error Handling |