Kingdom: Environment

This section includes everything that is outside of the source code but is still critical to the security of the product that is being created. Because the issues covered by this kingdom are not directly related to source code, we separated it from the rest of the kingdoms.

Cache Management: Insecure Policy

Abstract
Insecure caching policies can enable an attacker to conduct content spoofing or information theft attacks.
Explanation
While content transmitted over an SSL/TLS channel is expected to guarantee confidentiality, administrators must nonetheless ensure that caching of sensitive content is disabled unless absolutely needed. The misconception that secure content caching is disabled by default by user-agents could cause the application to fail the organization's cache policy by leaving the secure content cacheable by browsers. Unsafe specification such as Cache-Control: public would instruct the browser to persistently cache the content on the hard drive. Caching can be prevented by specifying one of the following three directives in the response headers
- Cache-control: private
- Cache-Control: no-cache
- Cache-Control: no-store
SSL provides a secure encrypted channel to transfer information from source to user. The information served over SSL is considered sensitive and trusted to be only available to requestor. However, caching this content on disk in temporary internet files or in intermediate proxy server can compromise that trust by exposing it to everyone who has access to these temporary storage or proxy cache. Content served over SSL must have cache disabled.
References
[1] Standards Mapping - Common Weakness Enumeration CWE ID 525
[2] Standards Mapping - Common Weakness Enumeration Top 25 2019 [4] CWE ID 200
[3] Standards Mapping - Common Weakness Enumeration Top 25 2020 [7] CWE ID 200
[4] Standards Mapping - Common Weakness Enumeration Top 25 2021 [20] CWE ID 200
[5] Standards Mapping - DISA Control Correlation Identifier Version 2 CCI-002361
[6] Standards Mapping - FIPS200 CM
[7] Standards Mapping - General Data Protection Regulation (GDPR) Indirect Access to Sensitive Data
[8] Standards Mapping - NIST Special Publication 800-53 Revision 4 AC-12 Session Termination (P2), SC-8 Transmission Confidentiality and Integrity (P1)
[9] Standards Mapping - NIST Special Publication 800-53 Revision 5 AC-12 Session Termination, SC-8 Transmission Confidentiality and Integrity
[10] Standards Mapping - OWASP Application Security Verification Standard 4.0 8.2.1 Client-side Data Protection (L1 L2 L3), 8.1.1 General Data Protection (L2 L3), 8.1.2 General Data Protection (L2 L3)
[11] Standards Mapping - OWASP Mobile 2014 M1 Weak Server Side Controls
[12] Standards Mapping - OWASP Mobile 2024 M5 Insecure Communication
[13] Standards Mapping - OWASP Top 10 2004 A10 Insecure Configuration Management
[14] Standards Mapping - OWASP Top 10 2010 A6 Security Misconfiguration
[15] Standards Mapping - OWASP Top 10 2013 A5 Security Misconfiguration
[16] Standards Mapping - OWASP Top 10 2017 A6 Security Misconfiguration
[17] Standards Mapping - OWASP Top 10 2021 A04 Insecure Design
[18] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 Requirement 6.5.10
[19] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 Requirement 6.5.9
[20] Standards Mapping - Security Technical Implementation Guide Version 4.2 APSC-DV-000060 CAT II
[21] Standards Mapping - Security Technical Implementation Guide Version 4.3 APSC-DV-000060 CAT II
[22] Standards Mapping - Security Technical Implementation Guide Version 4.4 APSC-DV-000060 CAT II
[23] Standards Mapping - Security Technical Implementation Guide Version 4.5 APSC-DV-000060 CAT II
[24] Standards Mapping - Security Technical Implementation Guide Version 4.6 APSC-DV-000060 CAT II
[25] Standards Mapping - Security Technical Implementation Guide Version 4.7 APSC-DV-000060 CAT II
[26] Standards Mapping - Security Technical Implementation Guide Version 4.8 APSC-DV-000060 CAT II
[27] Standards Mapping - Security Technical Implementation Guide Version 4.9 APSC-DV-000060 CAT II
[28] Standards Mapping - Security Technical Implementation Guide Version 4.10 APSC-DV-000060 CAT II
[29] Standards Mapping - Security Technical Implementation Guide Version 4.11 APSC-DV-000060 CAT II
[30] Standards Mapping - Security Technical Implementation Guide Version 4.1 APSC-DV-000060 CAT II
[31] Standards Mapping - Security Technical Implementation Guide Version 5.1 APSC-DV-000060 CAT II
[32] Standards Mapping - Security Technical Implementation Guide Version 5.2 APSC-DV-000060 CAT II
[33] Standards Mapping - Security Technical Implementation Guide Version 5.3 APSC-DV-000060 CAT II
[34] Standards Mapping - Security Technical Implementation Guide Version 6.1 APSC-DV-000060 CAT II
[35] Standards Mapping - Web Application Security Consortium Version 2.00 Information Leakage (WASC-13)
[36] Standards Mapping - Web Application Security Consortium 24 + 2 Information Leakage
desc.dynamic.xtended_preview.cache_management_insecure_policy