CWE-541: Inclusion of Sensitive Information in an Include File

Export to Word

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.

Extended Description

N/A


ThreatScore

Threat Mapped score: 3.25

Industry: Finiancial

Threat priority: P2 - Serious (High)


Observed Examples (CVEs)

Related Attack Patterns (CAPEC)

N/A


Attack TTPs

N/A

Modes of Introduction

Phase Note
Implementation N/A

Common Consequences

Potential Mitigations

Applicable Platforms


Demonstrative Examples

Intro: The following code uses an include file to store database credentials:

Body: database.inc

<?php $dbName = 'usersDB'; $dbPassword = 'skjdh#67nkjd3$3$'; ?>

Notes

← Back to CWE list