Check: SRG-APP-000098-WSR-000060
Web Server SRG:
SRG-APP-000098-WSR-000060
(in versions v4 r2 through v2 r2)
Title
A web server, behind a load balancer or proxy server, must produce log records containing the client IP information as the source and destination and not the load balancer or proxy IP information with each event. (Cat II impact)
Discussion
Web server logging capability is critical for accurate forensic analysis. Without sufficient and accurate information, a correct replay of the events cannot be determined. Ascertaining the correct source, e.g. source IP, of the events is important during forensic analysis. Correctly determining the source of events will add information to the overall reconstruction of the logable event. By determining the source of the event correctly, analysis of the enterprise can be undertaken to determine if events tied to the source occurred in other areas within the enterprise. A web server behind a load balancer or proxy server, when not configured correctly, will record the load balancer or proxy server as the source of every logable event. When looking at the information forensically, this information is not helpful in the investigation of events. The web server must record with each event the client source of the event.
Check Content
Review the deployment configuration to determine if the web server is sitting behind a proxy server. If the web server is not sitting behind a proxy server, this finding is NA. If the web server is behind a proxy server, review the documentation and deployment configuration to determine if the web server is configured to generate sufficient information to resolve the source, e.g. source IP, of the logged event and not the proxy server. Request a user access the hosted application through the proxy server and generate logable events, and then review the logs to determine if the source of the event can be established. If the source of the event cannot be determined, this is a finding.
Fix Text
Configure the web server to generate the client source, not the load balancer or proxy server, of each logable event.
Additional Identifiers
Rule ID: SV-206363r960900_rule
Vulnerability ID: V-206363
Group Title: SRG-APP-000098
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000133 |
Ensure that audit records containing information that establishes the source of the event. |
Controls
Number | Title |
---|---|
AU-3 |
Content of Audit Records |