Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CWE-326:Inadequate Encryption Strength
Weakness ID:326
Version:v4.17
Weakness Name:Inadequate Encryption Strength
Vulnerability Mapping:Allowed-with-Review
Abstraction:Class
Structure:Simple
Status:Draft
Likelihood of Exploit:
DetailsContent HistoryObserved CVE ExamplesReports
▼Description

The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.

▼Extended Description

A weak encryption scheme can be subjected to brute force attacks that have a reasonable chance of succeeding using current attack methods and resources.

▼Alternate Terms
▼Relationships
Relevant to the view"Research Concepts - (1000)"
NatureMappingTypeIDName
ChildOfDiscouragedP693Protection Mechanism Failure
ParentOfAllowedB328Use of Weak Hash
Nature: ChildOf
Mapping: Discouraged
Type: Pillar
ID: 693
Name: Protection Mechanism Failure
Nature: ParentOf
Mapping: Allowed
Type: Base
ID: 328
Name: Use of Weak Hash
▼Memberships
NatureMappingTypeIDName
MemberOfProhibitedC719OWASP Top Ten 2007 Category A8 - Insecure Cryptographic Storage
MemberOfProhibitedC720OWASP Top Ten 2007 Category A9 - Insecure Communications
MemberOfProhibitedC729OWASP Top Ten 2004 Category A8 - Insecure Storage
MemberOfProhibitedC816OWASP Top Ten 2010 Category A7 - Insecure Cryptographic Storage
MemberOfProhibitedC934OWASP Top Ten 2013 Category A6 - Sensitive Data Exposure
MemberOfProhibitedC959SFP Secondary Cluster: Weak Cryptography
MemberOfProhibitedV1003Weaknesses for Simplified Mapping of Published Vulnerabilities
MemberOfProhibitedC1013Encrypt Data
MemberOfProhibitedC1029OWASP Top Ten 2017 Category A3 - Sensitive Data Exposure
MemberOfProhibitedC1346OWASP Top Ten 2021 Category A02:2021 - Cryptographic Failures
MemberOfProhibitedC1402Comprehensive Categorization: Encryption
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 719
Name: OWASP Top Ten 2007 Category A8 - Insecure Cryptographic Storage
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 720
Name: OWASP Top Ten 2007 Category A9 - Insecure Communications
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 729
Name: OWASP Top Ten 2004 Category A8 - Insecure Storage
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 816
Name: OWASP Top Ten 2010 Category A7 - Insecure Cryptographic Storage
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 934
Name: OWASP Top Ten 2013 Category A6 - Sensitive Data Exposure
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 959
Name: SFP Secondary Cluster: Weak Cryptography
Nature: MemberOf
Mapping: Prohibited
Type:View
ID: 1003
Name: Weaknesses for Simplified Mapping of Published Vulnerabilities
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1013
Name: Encrypt Data
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1029
Name: OWASP Top Ten 2017 Category A3 - Sensitive Data Exposure
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1346
Name: OWASP Top Ten 2021 Category A02:2021 - Cryptographic Failures
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1402
Name: Comprehensive Categorization: Encryption
▼Tags
NatureMappingTypeIDName
MemberOfProhibitedBSBOSS-294Not Language-Specific Weaknesses
MemberOfProhibitedBSBOSS-316Bypass Protection Mechanism (impact)
MemberOfProhibitedBSBOSS-328Read Application Data (impact)
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-294
Name: Not Language-Specific Weaknesses
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-316
Name: Bypass Protection Mechanism (impact)
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-328
Name: Read Application Data (impact)
▼Relevant To View
Relevant to the view"Architectural Concepts - (1008)"
NatureMappingTypeIDName
MemberOfProhibitedC1013Encrypt Data
Nature: MemberOf
Mapping: Prohibited
Type: Category
ID: 1013
Name: Encrypt Data
Relevant to the view"OWASP Top Ten (2021) - (1344)"
NatureMappingTypeIDName
MemberOfProhibitedC1346OWASP Top Ten 2021 Category A02:2021 - Cryptographic Failures
Nature: MemberOf
Mapping: Prohibited
Type: Category
ID: 1346
Name: OWASP Top Ten 2021 Category A02:2021 - Cryptographic Failures
Relevant to the view"Software Fault Pattern (SFP) Clusters - (888)"
NatureMappingTypeIDName
MemberOfProhibitedC959SFP Secondary Cluster: Weak Cryptography
Nature: MemberOf
Mapping: Prohibited
Type: Category
ID: 959
Name: SFP Secondary Cluster: Weak Cryptography
▼Background Detail

▼Common Consequences
ScopeLikelihoodImpactNote
Access ControlConfidentialityN/ABypass Protection MechanismRead Application Data

An attacker may be able to decrypt the data using brute force attacks.

Scope: Access Control, Confidentiality
Likelihood: N/A
Impact: Bypass Protection Mechanism, Read Application Data
Note:

An attacker may be able to decrypt the data using brute force attacks.

▼Potential Mitigations
Phase:Architecture and Design
Mitigation ID:
Strategy:
Effectiveness:
Description:

Use an encryption scheme that is currently considered to be strong by experts in the field.

Note:

▼Modes Of Introduction
Phase: Architecture and Design
Note:

COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic.

▼Applicable Platforms
Languages
Class: Not Language-Specific(Undetermined Prevalence)
▼Demonstrative Examples
▼Observed Examples
ReferenceDescription
CVE-2001-1546
Weak encryption
CVE-2004-2172
Weak encryption (chosen plaintext attack)
CVE-2002-1682
Weak encryption
CVE-2002-1697
Weak encryption produces same ciphertext from the same plaintext blocks.
CVE-2002-1739
Weak encryption
CVE-2005-2281
Weak encryption scheme
CVE-2002-1872
Weak encryption (XOR)
CVE-2002-1910
Weak encryption (reversible algorithm).
CVE-2002-1946
Weak encryption (one-to-one mapping).
CVE-2002-1975
Encryption error uses fixed salt, simplifying brute force / dictionary attacks (overlaps randomness).
Reference: CVE-2001-1546
Description:
Weak encryption
Reference: CVE-2004-2172
Description:
Weak encryption (chosen plaintext attack)
Reference: CVE-2002-1682
Description:
Weak encryption
Reference: CVE-2002-1697
Description:
Weak encryption produces same ciphertext from the same plaintext blocks.
Reference: CVE-2002-1739
Description:
Weak encryption
Reference: CVE-2005-2281
Description:
Weak encryption scheme
Reference: CVE-2002-1872
Description:
Weak encryption (XOR)
Reference: CVE-2002-1910
Description:
Weak encryption (reversible algorithm).
Reference: CVE-2002-1946
Description:
Weak encryption (one-to-one mapping).
Reference: CVE-2002-1975
Description:
Encryption error uses fixed salt, simplifying brute force / dictionary attacks (overlaps randomness).
▼Affected Resources
    ▼Functional Areas
      ▼Weakness Ordinalities
      OrdinalityDescription
      ▼Detection Methods
      Automated Static Analysis
      Detection Method ID:DM-14
      Description:

      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
      Note:

      N/A

      ▼Vulnerability Mapping Notes
      Usage:Allowed-with-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

      Suggestions:
      ▼Notes
      ▼Taxonomy Mappings
      Taxonomy NameEntry IDFitEntry Name
      PLOVERN/AN/AWeak Encryption
      OWASP Top Ten 2007A8CWE More SpecificInsecure Cryptographic Storage
      OWASP Top Ten 2007A9CWE More SpecificInsecure Communications
      OWASP Top Ten 2004A8CWE More SpecificInsecure Storage
      Taxonomy Name: PLOVER
      Entry ID: N/A
      Fit: N/A
      Entry Name: Weak Encryption
      Taxonomy Name: OWASP Top Ten 2007
      Entry ID: A8
      Fit: CWE More Specific
      Entry Name: Insecure Cryptographic Storage
      Taxonomy Name: OWASP Top Ten 2007
      Entry ID: A9
      Fit: CWE More Specific
      Entry Name: Insecure Communications
      Taxonomy Name: OWASP Top Ten 2004
      Entry ID: A8
      Fit: CWE More Specific
      Entry Name: Insecure Storage
      ▼Related Attack Patterns
      IDName
      CAPEC-112
      Brute Force
      CAPEC-192
      Protocol Analysis
      CAPEC-20
      Encryption Brute Forcing
      ID: CAPEC-112
      Name: Brute Force
      ID: CAPEC-192
      Name: Protocol Analysis
      ID: CAPEC-20
      Name: Encryption Brute Forcing
      ▼References
      Reference ID: REF-7
      Title: Writing Secure Code
      Author: Michael Howard, David LeBlanc
      Section: Chapter 8, "Cryptographic Foibles" Page 259
      Publication:
      Publisher:Microsoft Press
      Edition:2nd Edition
      URL:https://www.microsoftpressstore.com/store/writing-secure-code-9780735617223
      URL Date:
      Day:04
      Month:12
      Year:2002
      Reference ID: REF-44
      Title: 24 Deadly Sins of Software Security
      Author: Michael Howard, David LeBlanc, John Viega
      Section: "Sin 21: Using the Wrong Cryptography." Page 315
      Publication:
      McGraw-Hill
      Publisher:
      Edition:
      URL:
      URL Date:
      Day:N/A
      Month:N/A
      Year:2010
      Details not found