1375
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 966 SFP Secondary Cluster: Other Exposures 888 2403
MemberOf 1349 OWASP Top Ten 2021 Category A05:2021 - Security
Misconfiguration
1344 2493
MemberOf 1402 Comprehensive Categorization: Encryption 1400 2527
Related Attack Patterns
CAPEC-ID Attack Pattern Name
102 Session Sidejacking
CWE-615: Inclusion of Sensitive Information in Source Code Comments
Weakness ID : 615
Structure : Simple
Abstraction : Variant
Description
While adding general comments is very useful, some programmers tend to leave important data,
such as: filenames related to the web application, old links or links which were not meant to be
browsed by users, old code fragments, etc.
Extended Description
An attacker who finds these comments can map the application's structure and files, expose hidden
parts of the site, and study the fragments of code to reverse engineer the application, which may
help develop further attacks against the site.
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 540 Inclusion of Sensitive Information in Source Code 1251
PeerOf 546 Suspicious Comment 1258
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
CWE Version 4.14
CWE-616: Incomplete Identification of Uploaded File Variables (PHP)
CWE-616: Incomplete Identification of Uploaded File Variables (PHP)