- Home
-
CWE-1391: Use of Weak Credentials
Weakness ID: 1391Vulnerability Mapping: ALLOWED This CWE ID could be used to map to real-world vulnerabilities in limited situations requiring careful review (with careful review of mapping notes)
Abstraction: Class Class - a weakness that is described in a very abstract fashion, typically independent of any specific language or technology. More specific than a Pillar Weakness, but more general than a Base Weakness. Class level weaknesses typically describe issues in terms of 1 or 2 of the following dimensions: behavior, property, and resource.View customized information:For users who are interested in more notional aspects of a weakness. Example: educators, technical writers, and project/program managers. For users who are concerned with the practical application and details about the nature of a weakness and how to prevent it from happening. Example: tool developers, security researchers, pen-testers, incident response analysts. For users who are mapping an issue to CWE/CAPEC IDs, i.e., finding the most appropriate CWE for a specific issue (e.g., a CVE record). Example: tool developers, security researchers. For users who wish to see all available information for the CWE/CAPEC entry. For users who want to customize what details are displayed.×
Edit Custom Filter
The product uses weak credentials (such as a default key or hard-coded password) that can be calculated, derived, reused, or guessed by an attacker.By design, authentication protocols try to ensure that attackers must perform brute force attacks if they do not know the credentials such as a key or password. However, when these credentials are easily predictable or even fixed (as with default or hard-coded passwords and keys), then the attacker can defeat the mechanism without relying on brute force.
Credentials may be weak for different reasons, such as:
- Hard-coded (i.e., static and unchangeable by the administrator)
- Default (i.e., the same static value across different deployments/installations, but able to be changed by the administrator)
- Predictable (i.e., generated in a way that produces unique credentials across deployments/installations, but can still be guessed with reasonable efficiency)
- Previously Compromised (i.e., "leaked" credentials that were published as part of a data breach)
Even if a new, unique credential is intended to be generated for each product installation, if the generation is predictable, then that may also simplify guessing attacks.
This table specifies different individual consequences
associated with the weakness. The Scope identifies the application security area that is
violated, while the Impact describes the negative technical impact that arises if an
adversary succeeds in exploiting this weakness. The Likelihood provides information about
how likely the specific consequence is expected to be seen relative to the other
consequences in the list. For example, there may be high likelihood that a weakness will be
exploited to achieve a certain impact, but a low likelihood that it will be exploited to
achieve a different impact.
Impact Details Bypass Protection Mechanism
Scope: Access Control An adversary could bypass intended authentication restrictions.Phase(s) Mitigation Architecture and Design; Operation
When the user changes or sets a password, check the password against a database of already compromised or breached passwords. These passwords are likely to be used in password guessing attacks.Effectiveness: Moderate
This table shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOf and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition,
relationships such as PeerOf and CanAlsoBe are defined to show similar weaknesses that the user
may want to explore.
Relevant to the view "Research Concepts" (View-1000)
Nature Type ID Name ChildOf
Class - a weakness that is described in a very abstract fashion, typically independent of any specific language or technology. More specific than a Pillar Weakness, but more general than a Base Weakness. Class level weaknesses typically describe issues in terms of 1 or 2 of the following dimensions: behavior, property, and resource.
1390 Weak Authentication ParentOf
Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource.
521 Weak Password Requirements ParentOf
Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource.
798 Use of Hard-coded Credentials ParentOf
Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource.
1392 Use of Default Credentials
The different Modes of Introduction provide information
about how and when this
weakness may be introduced. The Phase identifies a point in the life cycle at which
introduction
may occur, while the Note provides a typical scenario related to introduction during the
given
phase.
Phase Note Requirements Architecture and Design Installation Operation
This listing shows possible areas for which the given
weakness could appear. These
may be for specific named Languages, Operating Systems, Architectures, Paradigms,
Technologies,
or a class of such platforms. The platform is listed along with how frequently the given
weakness appears for that instance.
Languages Class: Not Language-Specific (Undetermined Prevalence)
Operating Systems Class: Not OS-Specific (Undetermined Prevalence)
Architectures Class: Not Architecture-Specific (Undetermined Prevalence)
Technologies Class: ICS/OT (Undetermined Prevalence)
Class: Not Technology-Specific (Undetermined Prevalence)
Example 1
In 2022, the OT:ICEFALL study examined products by 10 different Operational Technology (OT) vendors. The researchers reported 56 vulnerabilities and said that the products were "insecure by design" [REF-1283]. If exploited, these vulnerabilities often allowed adversaries to change how the products operated, ranging from denial of service to changing the code that the products executed. Since these products were often used in industries such as power, electrical, water, and others, there could even be safety implications.
Multiple OT products used weak credentials.
Note: this is a curated list of examples for users to understand the variety of ways in which this weakness can be introduced. It is not a complete list of all CVEs that are related to this CWE entry.
Reference Description Remote Terminal Unit (RTU) uses default credentials for some SSH accountsDistributed Control System (DCS) uses a deterministic algorithm to generate utility passwordsRemote Terminal Unit (RTU) uses a hard-coded SSH private key that is likely to be used in typical deploymentsmicrocontroller board has default password, allowing admin accessdata visualization/sharing package uses default secret keys or cookie values if they are not specified in environment variablesUART interface for AI speaker uses empty password for root shellpassword manager does not generate cryptographically strong passwords, allowing prediction of passwords using guessable details such as time of generationpassword generator for cloud application has small length value, making it easier for brute-force guessingnetwork-attached storage (NAS) system has predictable default passwords for a diagnostics/support accountIT asset management app has a default encryption key that is the same across installationscloud cluster management product has a default master encryption keyInstallation script has a hard-coded secret token value, allowing attackers to bypass authenticationIntrusion Detection System (IDS) uses the same static, private SSL keys for multiple devices and installations, allowing decryption of SSL trafficResidential gateway uses the last 5 digits of the 'Network Name' or SSID as the default WEP key, which allows attackers to get the key by sniffing the SSID, which is sent in the clearOrdinality Description Primary(where the weakness exists independent of other weaknesses)Resultant(where the weakness is typically related to the presence of some other weaknesses)
This MemberOf Relationships table shows additional CWE Categories 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 MemberOf
Category - a CWE entry that contains a set of other entries that share a common characteristic.1396 Comprehensive Categorization: Access Control MemberOf
Category - a CWE entry that contains a set of other entries that share a common characteristic.1442 OWASP Top Ten 2025 Category A07:2025 - Authentication Failures Usage ALLOWED-WITH-REVIEW (this CWE ID could be used to map to real-world vulnerabilities in limited situations requiring careful review)Reason Abstraction Rationale
This CWE entry is a Class and might have Base-level children that would be more appropriate Comments
Examine children of this entry to see if there is a better fit Mapped Taxonomy Name Node ID Fit Mapped Node Name ISA/IEC 62443 Part 2-4 Req SP.09.02 RE(1) ISA/IEC 62443 Part 4-1 Req SR-3 b) ISA/IEC 62443 Part 4-1 Req SI-2 b) ISA/IEC 62443 Part 4-1 Req SI-2 d) ISA/IEC 62443 Part 4-1 Req SG-3 d) ISA/IEC 62443 Part 4-1 Req SG-6 b) ISA/IEC 62443 Part 4-2 Req CR 1.1 ISA/IEC 62443 Part 4-2 Req CR 1.2 ISA/IEC 62443 Part 4-2 Req CR 1.5 ISA/IEC 62443 Part 4-2 Req CR 1.7 ISA/IEC 62443 Part 4-2 Req CR 1.8 ISA/IEC 62443 Part 4-2 Req CR 1.9 ISA/IEC 62443 Part 4-2 Req CR 1.14 ISA/IEC 62443 Part 4-2 Req CR 2.1 ISA/IEC 62443 Part 4-2 Req CR 4.3 ISA/IEC 62443 Part 4-2 Req CR 7.5 [REF-1303] Kelly Jackson Higgins. "Researchers Out Default Passwords Packaged With ICS/SCADA Wares". 2016-01-04.
<https://www.darkreading.com/endpoint-security/researchers-out-default-passwords-packaged-with-ics-scada-wares>. (URL validated: 2025-08-04)[REF-1304] ICS-CERT. "ICS Alert (ICS-ALERT-13-164-01): Medical Devices Hard-Coded Passwords". 2013-06-13.
<https://www.cisa.gov/news-events/ics-alerts/ics-alert-13-164-01>. (URL validated: 2023-04-07)[REF-1283] Forescout Vedere Labs. "OT:ICEFALL: The legacy of "insecure by design" and its implications for certifications and risk management". 2022-06-20.
<https://www.forescout.com/resources/ot-icefall-report/>.[REF-1374] Unciphered. "Randstorm: You Can't Patch a House of Cards". 2023-11-14.
<https://www.unciphered.com/disclosure-of-vulnerable-bitcoin-wallet-library-2/>. (URL validated: 2025-07-29)[REF-1488] NIST. "Digital Identity Guidelines (SP 800-63B-4)". 5.1.1.2. 2025-07.
<https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-63B-4.pdf>. (URL validated: 2025-09-08)[REF-1514] National Cyber Security Centre. "Passwords, passwords everywhere". 2022-10-23.
<https://webarchive.nationalarchives.gov.uk/ukgwa/20221027140921/https://www.ncsc.gov.uk/pdfs/blog-post/passwords-passwords-everywhere.pdf>. (URL validated: 2025-12-08)More information is available — Please edit the custom filter or select a different filter.Page Last Updated: January 21, 2026Use of the Common Weakness Enumeration (CWE™) and the associated references from this website are subject to the Terms of Use. CWE is sponsored by the U.S. Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security Agency (CISA) and managed by the Homeland Security Systems Engineering and Development Institute (HSSEDI) which is operated by The MITRE Corporation (MITRE). Copyright © 2006–2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation.



