Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CWE-757:Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')
Weakness ID:757
Version:v4.17
Weakness Name:Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')
Vulnerability Mapping:Allowed
Abstraction:Base
Structure:Simple
Status:Incomplete
Likelihood of Exploit:
DetailsContent HistoryObserved CVE ExamplesReports
▼Description

A protocol or its implementation supports interaction between multiple actors and allows those actors to negotiate which algorithm should be used as a protection mechanism such as encryption or authentication, but it does not select the strongest algorithm that is available to both parties.

▼Extended Description

When a security mechanism can be forced to downgrade to use a less secure algorithm, this can make it easier for attackers to compromise the product by exploiting weaker algorithm. The victim might not be aware that the less secure algorithm is being used. For example, if an attacker can force a communications channel to use cleartext instead of strongly-encrypted data, then the attacker could read the channel by sniffing, instead of going through extra effort of trying to decrypt the data using brute force techniques.

▼Alternate Terms
▼Relationships
Relevant to the view"Research Concepts - (1000)"
NatureMappingTypeIDName
ChildOfDiscouragedP693Protection Mechanism Failure
ParentOfAllowedB1328Security Version Number Mutable to Older Versions
Nature: ChildOf
Mapping: Discouraged
Type: Pillar
ID: 693
Name: Protection Mechanism Failure
Nature: ParentOf
Mapping: Allowed
Type: Base
ID: 1328
Name: Security Version Number Mutable to Older Versions
▼Memberships
NatureMappingTypeIDName
MemberOfProhibitedC957SFP Secondary Cluster: Protocol Error
MemberOfProhibitedC1013Encrypt Data
MemberOfProhibitedC1346OWASP Top Ten 2021 Category A02:2021 - Cryptographic Failures
MemberOfProhibitedC1413Comprehensive Categorization: Protection Mechanism Failure
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 957
Name: SFP Secondary Cluster: Protocol Error
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1013
Name: Encrypt Data
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: 1413
Name: Comprehensive Categorization: Protection Mechanism Failure
▼Tags
NatureMappingTypeIDName
MemberOfProhibitedBSBOSS-316Bypass Protection Mechanism (impact)
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-316
Name: Bypass Protection Mechanism (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
MemberOfProhibitedC957SFP Secondary Cluster: Protocol Error
Nature: MemberOf
Mapping: Prohibited
Type: Category
ID: 957
Name: SFP Secondary Cluster: Protocol Error
▼Background Detail

▼Common Consequences
ScopeLikelihoodImpactNote
Access ControlN/ABypass Protection Mechanism
N/A
Scope: Access Control
Likelihood: N/A
Impact: Bypass Protection Mechanism
Note:
N/A
▼Potential Mitigations
▼Modes Of Introduction
Phase: Architecture and Design
Note:

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

▼Applicable Platforms
▼Demonstrative Examples
▼Observed Examples
ReferenceDescription
CVE-2006-4302
Attacker can select an older version of the software to exploit its vulnerabilities.
CVE-2006-4407
Improper prioritization of encryption ciphers during negotiation leads to use of a weaker cipher.
CVE-2005-2969
chain: SSL/TLS implementation disables a verification step (CWE-325) that enables a downgrade attack to a weaker protocol.
CVE-2001-1444
Telnet protocol implementation allows downgrade to weaker authentication and encryption using an Adversary-in-the-Middle AITM attack.
CVE-2002-1646
SSH server implementation allows override of configuration setting to use weaker authentication schemes. This may be a composite with CWE-642.
Reference: CVE-2006-4302
Description:
Attacker can select an older version of the software to exploit its vulnerabilities.
Reference: CVE-2006-4407
Description:
Improper prioritization of encryption ciphers during negotiation leads to use of a weaker cipher.
Reference: CVE-2005-2969
Description:
chain: SSL/TLS implementation disables a verification step (CWE-325) that enables a downgrade attack to a weaker protocol.
Reference: CVE-2001-1444
Description:
Telnet protocol implementation allows downgrade to weaker authentication and encryption using an Adversary-in-the-Middle AITM attack.
Reference: CVE-2002-1646
Description:
SSH server implementation allows override of configuration setting to use weaker authentication schemes. This may be a composite with CWE-642.
▼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
      Reason:Acceptable-Use
      Rationale:

      This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.

      Comments:

      Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

      Suggestions:
      ▼Notes
      Relationship

      This is related to CWE-300, although not all downgrade attacks necessarily require an entity that redirects or interferes with the network. See examples.

      N/A

      ▼Taxonomy Mappings
      Taxonomy NameEntry IDFitEntry Name
      ▼Related Attack Patterns
      IDName
      CAPEC-220
      Client-Server Protocol Manipulation
      CAPEC-606
      Weakening of Cellular Encryption
      CAPEC-620
      Drop Encryption Level
      ID: CAPEC-220
      Name: Client-Server Protocol Manipulation
      ID: CAPEC-606
      Name: Weakening of Cellular Encryption
      ID: CAPEC-620
      Name: Drop Encryption Level
      ▼References
      Details not found