Details | |
---|---|
Alert ID | 10050-2 |
Alert Type | Passive |
Status | release |
Risk | Informational |
CWE | |
WASC | |
Technologies Targeted | All |
Tags |
WSTG-V42-ATHN-06 |
More Info |
Scan Rule Help |
Summary
The content was retrieved from a shared cache. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where caching servers such as “proxy” caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.
Solution
Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user: Cache-Control: no-cache, no-store, must-revalidate, private Pragma: no-cache Expires: 0 This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.Other Info
The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use.References
- https://tools.ietf.org/html/rfc7234
- https://tools.ietf.org/html/rfc7231
- https://www.rfc-editor.org/rfc/rfc9110.html