Check: SRG-APP-000267-AS-000170
Application Server SRG:
SRG-APP-000267-AS-000170
(in versions v3 r4 through v2 r2)
Title
The application server must restrict error messages only to authorized users. (Cat II impact)
Discussion
If the application provides too much information in error logs and administrative messages to the screen, this could lead to compromise. The structure and content of error messages need to 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. Application servers must protect the error messages that are created by the application server. All application server users' accounts are used for the management of the server and the applications residing on the application server. All accounts are assigned to a certain role with corresponding access rights. The application server must restrict access to error messages so only authorized users may view them. Error messages are usually written to logs contained on the file system. The application server will usually create new log files as needed and must take steps to ensure that the proper file permissions are utilized when the log files are created.
Check Content
Review the application server configuration and documentation to determine if the application server will restrict access to error messages so only authorized users may view or otherwise access them. If the application server cannot be configured to restrict access to error messages to only authorized users, this is a finding.
Fix Text
Configure the application server to restrict access to error messages so only authorized users may view or otherwise access them.
Additional Identifiers
Rule ID: SV-204775r879656_rule
Vulnerability ID: V-204775
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 |