1240
Relevant to the view "Architectural Concepts" (CWE-1008)
Nature Type ID Name Page
MemberOf 1011 Authorize Actors 2425
Common Consequences
Scope Impact Likelihood
Confidentiality Read Application Data
At a minimum, an attacker who retrieves this file would
have all the information contained in it, whether that
be database calls, the format of parameters accepted
by the application, or simply information regarding the
architectural structure of your site.
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: Policy
Recommendations include implementing a security policy within your organization that prohibits
backing up web application source code in the webroot.
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 731 OWASP Top Ten 2004 Category A10 - Insecure
Configuration Management
711 2339
MemberOf 963 SFP Secondary Cluster: Exposed Data 888 2400
MemberOf 1403 Comprehensive Categorization: Exposed Resource 1400 2528
CWE-531: Inclusion of Sensitive Information in Test Code
Weakness ID : 531
Structure : Simple
Abstraction : Variant
Description
Accessible test applications can pose a variety of security risks. Since developers or administrators
rarely consider that someone besides themselves would even know about the existence of these
applications, it is common for them to contain sensitive information or functions.
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
CWE Version 4.14
CWE-532: Insertion of Sensitive Information into Log File
CWE-532: Insertion of Sensitive Information into Log File