CWE-696 不正确的行为次序

admin 2021年12月16日15:52:57评论65 views字数 1183阅读3分56秒阅读模式

CWE-696 不正确的行为次序

Incorrect Behavior Order

结构: Simple

Abstraction: Class

状态: Incomplete

被利用可能性: unkown

基本描述

The software performs multiple related behaviors, but the behaviors are performed in the wrong order in ways which may produce resultant weaknesses.

相关缺陷

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

常见的影响

范围 影响 注释
Integrity Alter Execution Logic

分析过的案例

标识 说明 链接
CVE-2017-6964 Linux-based device mapper encryption program does not check the return value of setuid and setgid allowing attackers to execute code with unintended privileges. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6964
CVE-2007-5191 file-system management programs call the setuid and setgid functions in the wrong order and do not check the return values, allowing attackers to gain unintended privileges https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5191
CVE-2007-1588 C++ web server program calls Process::setuid before calling Process::setgid, preventing it from dropping privileges, potentially allowing CGI programs to be called with higher privileges than intended https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1588

分类映射

映射的分类名 ImNode ID Fit Mapped Node Name
CERT C Secure Coding POS36-C CWE More Abstract Observe correct revocation order while relinquishing privileges

相关攻击模式

  • CAPEC-463

文章来源于互联网:scap中文网

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年12月16日15:52:57
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   CWE-696 不正确的行为次序http://cn-sec.com/archives/613195.html

发表评论

匿名网友 填写信息