|
Weakness ID: 326
Vulnerability 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. |
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; Read Application Data |
Scope: Access Control, Confidentiality
An attacker may be able to decrypt the data using brute force attacks.
|
| Phase(s) | Mitigation |
|---|---|
|
Architecture and Design |
Use an encryption scheme that is currently considered to be strong by experts in the field.
|
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 |
|
693 | Protection Mechanism Failure |
| ParentOf |
|
328 | Use of Weak Hash |
Relevant to the view "Weaknesses for Simplified Mapping of Published Vulnerabilities" (View-1003)
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf |
|
1003 | Weaknesses for Simplified Mapping of Published Vulnerabilities |
Relevant to the view "Architectural Concepts" (View-1008)
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf |
|
1013 | Encrypt Data |
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 |
|---|---|
| Architecture and Design | COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic. |
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) |
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 |
|---|---|
|
Weak encryption
|
|
|
Weak encryption (chosen plaintext attack)
|
|
|
Weak encryption
|
|
|
Weak encryption produces same ciphertext from the same plaintext blocks.
|
|
|
Weak encryption
|
|
|
Weak encryption scheme
|
|
|
Weak encryption (XOR)
|
|
|
Weak encryption (reversible algorithm).
|
|
|
Weak encryption (one-to-one mapping).
|
|
|
Encryption error uses fixed salt, simplifying brute force / dictionary attacks (overlaps randomness).
|
| Ordinality | Description |
|---|---|
|
Primary
|
(where the weakness exists independent of other weaknesses)
|
| Method | Details |
|---|---|
|
Automated Static Analysis |
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Effectiveness: High |
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 | 719 | OWASP Top Ten 2007 Category A8 - Insecure Cryptographic Storage | |
| MemberOf | 720 | OWASP Top Ten 2007 Category A9 - Insecure Communications | |
| MemberOf | 729 | OWASP Top Ten 2004 Category A8 - Insecure Storage | |
| MemberOf | 816 | OWASP Top Ten 2010 Category A7 - Insecure Cryptographic Storage | |
| MemberOf | 934 | OWASP Top Ten 2013 Category A6 - Sensitive Data Exposure | |
| MemberOf | 959 | SFP Secondary Cluster: Weak Cryptography | |
| MemberOf | 1029 | OWASP Top Ten 2017 Category A3 - Sensitive Data Exposure | |
| MemberOf | 1346 | OWASP Top Ten 2021 Category A02:2021 - Cryptographic Failures | |
| MemberOf | 1402 | Comprehensive Categorization: Encryption | |
| MemberOf | 1439 | OWASP Top Ten 2025 Category A04:2025 - Cryptographic 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 |
|---|---|---|---|
| PLOVER | Weak Encryption | ||
| OWASP Top Ten 2007 | A8 | CWE More Specific | Insecure Cryptographic Storage |
| OWASP Top Ten 2007 | A9 | CWE More Specific | Insecure Communications |
| OWASP Top Ten 2004 | A8 | CWE More Specific | Insecure Storage |
| [REF-7] |
Michael Howard and David LeBlanc. "Writing Secure Code". Chapter 8, "Cryptographic Foibles" Page 259. 2nd Edition. Microsoft Press. 2002-12-04.
<https://www.microsoftpressstore.com/store/writing-secure-code-9780735617223>. |
| [REF-44] | Michael Howard, David LeBlanc and John Viega. "24 Deadly Sins of Software Security". "Sin 21: Using the Wrong Cryptography." Page 315. McGraw-Hill. 2010. |
|
Use 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. |
||
