1251
the browser's hard drive. This can cause security and privacy issues depending on the information
stored in the cookie and how it is accessed.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 552 Files or Directories Accessible to External Parties 1265
Common Consequences
Scope Impact Likelihood
Confidentiality Read Application Data
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST),
can find some instances of this weakness by analyzing source code (or binary/compiled code)
without having to execute it. Typically, this is done by building a model of data flow and control
flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input)
with "sinks" (destinations where the data interacts with external components, a lower layer such
as the OS, etc.)
Effectiveness = High
Potential Mitigations
Phase: Architecture and Design
Do not store sensitive information in persistent cookies.
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
Nature Type ID Name Page
MemberOf 729 OWASP Top Ten 2004 Category A8 - Insecure Storage 711 2338
MemberOf 963 SFP Secondary Cluster: Exposed Data 888 2400
MemberOf 1348 OWASP Top Ten 2021 Category A04:2021 - Insecure
Design
1344 2491
MemberOf 1403 Comprehensive Categorization: Exposed Resource 1400 2528
Related Attack Patterns
CAPEC-ID Attack Pattern Name
21 Exploitation of Trusted Identifiers
31 Accessing/Intercepting/Modifying HTTP Cookies
39 Manipulating Opaque Client-based Data Tokens
59 Session Credential Falsification through Prediction
60 Reusing Session IDs (aka Session Replay)
CWE-540: Inclusion of Sensitive Information in Source Code
CWE Version 4.14
CWE-540: Inclusion of Sensitive Information in Source Code
CWE-540: Inclusion of Sensitive Information in Source Code