CWE-541

Inclusion of Sensitive Information in an Include File

Weakness Description

If an include file source is accessible, the file can contain usernames and passwords, as well as sensitive information pertaining to the application and system.

Potential Mitigations

Architecture and Design

Do not store sensitive information in include files.

Architecture and DesignSystem Configuration

Protect include files from being exposed.

Common Consequences

Confidentiality
Read Application Data
Advertisement

Related Weaknesses