CWE-258: Empty Password in Configuration File

Export to Word

Description

Using an empty string as a password is insecure.

Extended Description

N/A


ThreatScore

Threat Mapped score: 3.0

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
Architecture and Design N/A
Implementation REALIZATION: This weakness is caused during implementation of an architectural security tactic.
Operation N/A

Common Consequences

Potential Mitigations

Applicable Platforms


Demonstrative Examples

Intro: The following examples show a portion of properties and configuration files for Java and ASP.NET applications. The files include username and password information but the password is provided as an empty string.

Body: This Java example shows a properties file with an empty password string.

# Java Web App ResourceBundle properties file ... webapp.ldap.username=secretUsername webapp.ldap.password= ...

Notes

← Back to CWE list