CWE-798 Use of Hard-coded Credentials – Detailed Weakness Analysis

Explore CAPEC attack patterns referencing this CWE.

What is CWE (Common Weakness Enumeration)?

The Common Weakness Enumeration (CWE) is a community-developed list of common software and hardware weaknesses. By identifying these weaknesses, developers and security practitioners can prioritize and address potential vulnerabilities early in the development cycle. Explore our comprehensive CWE list below to better understand and mitigate common security issues.

CAPEC Patterns referencing CWE-798

Below is a list of CAPEC attack patterns associated with this CWE-798. Click on each CAPEC to learn more. The right column shows the related weaknesses (including this one).

CAPEC Related Weaknesses
Read Sensitive Constants Within an Executable
CWE-798 Use of Hard-coded Credentials
Try Common or Default Usernames and Passwords
CWE-262 Not Using Password Aging
CWE-263 Password Aging with Long Expiration
CWE-308 Use of Single-factor Authentication
CWE-309 Use of Password System for Primary Authentication
CWE-521 Weak Password Requirements
CWE-654 Reliance on a Single Factor in a Security Decision
CWE-798 Use of Hard-coded Credentials

About CWE-798: Use of Hard-coded Credentials

CWE-798 is one of the established Common Weakness Enumerations that identifies a specific type of vulnerability in software. Detailed analysis of CWE-798 helps organizations understand the risks associated with this weakness and implement effective countermeasures.

Explore related attack patterns, best practices, and expert recommendations on this page. By understanding CWE-798, you can enhance your security posture and better protect your applications against exploitation.