CWE-757 在会话协商时选择低安全性的算法(算法降级)

Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')

结构: Simple

Abstraction: Base

状态: Incomplete

被利用可能性: unkown

基本描述

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.

扩展描述

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 software 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.

相关缺陷

  • cwe_Nature: ChildOf cwe_CWE_ID: 693 cwe_View_ID: 699 cwe_Ordinal: Primary

  • cwe_Nature: ChildOf cwe_CWE_ID: 693 cwe_View_ID: 1000 cwe_Ordinal: Primary

常见的影响

范围 影响 注释
Access Control Bypass Protection Mechanism

分析过的案例

标识 说明 链接
CVE-2006-4302 Attacker can select an older version of the software to exploit its vulnerabilities. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4302
CVE-2006-4407 Improper prioritization of encryption ciphers during negotiation leads to use of a weaker cipher. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4407
CVE-2005-2969 chain: SSL/TLS implementation disables a verification step (CWE-325) that enables a downgrade attack to a weaker protocol. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2969
CVE-2001-1444 Telnet protocol implementation allows downgrade to weaker authentication and encryption using a man-in-the-middle attack. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-1444
CVE-2002-1646 SSH server implementation allows override of configuration setting to use weaker authentication schemes. This may be a composite with CWE-642. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1646

Notes

相关攻击模式

  • CAPEC-220
  • CAPEC-606
  • CAPEC-620