目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-841 行为工作流的不恰当实施 类漏洞列表 67

CWE-841 行为工作流的不恰当实施 类弱点 67 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-841 属于业务流程执行不当漏洞,指系统未强制要求用户按既定顺序完成多步操作。攻击者常通过跳过中间步骤或颠倒操作顺序,篡改业务逻辑或使系统进入无效状态,进而可能引发数据泄露或权限提升。开发者应实施严格的会话状态管理,在服务器端验证每一步骤的完整性与顺序,确保关键业务逻辑仅在满足所有前置条件后才得以执行,从而杜绝此类风险。

MITRE CWE 官方描述
CWE:CWE-841 行为工作流执行不当 英文:产品支持一个会话,在该会话中,参与者(actor)必须执行多种行为,但产品未能正确确保参与者按照所需的顺序执行这些行为。 通过以非预期的顺序执行操作,或省略某些步骤,攻击者可能操纵产品的业务逻辑,或导致其进入无效状态。在某些情况下,这还可能暴露出衍生弱点。例如,文件共享协议可能要求参与者先执行提供用户名的步骤,再执行提供密码的步骤,之后才能进行文件传输。如果文件共享服务器接受先发送密码命令、再发送传输命令的请求,而无需提供任何用户名,产品仍可能执行该传输操作。请注意,这与 CWE-696 不同,后者侧重于产品何时以错误顺序执行操作;本条目密切相关,但侧重于确保参与者以正确的顺序执行操作。与工作流相关的行为包括:步骤按预期顺序执行;未省略必要步骤;步骤未被中断;步骤及时执行。
常见影响 (1)
Other Alter Execution Logic
An attacker could cause the product to skip critical steps or perform them in the wrong order, bypassing its intended business logic. This can sometimes have security implications.
代码示例 (1)
This code is part of an FTP server and deals with various commands that could be sent by a user. It is intended that a user must successfully login before performing any other action such as retrieving or listing files.
def dispatchCommand(command, user, args): if command == 'Login': loginUser(args) return # user has requested a file if command == 'Retrieve_file': if authenticated(user) and ownsFile(user,args): sendFile(args) return if command == 'List_files': listFiles(args) return ...
Bad · Python
def dispatchCommand(command, user, args): ... if command == 'List_files': if authenticated(user) and ownsDirectory(user,args): listFiles(args) return ...
Good · Python
CVE ID 标题 CVSS 风险等级 Published
CVE-2024-0410 GitLab 访问控制错误漏洞 — GitLab 7.7 High 2024-02-21
CVE-2023-5921 DECE Software Geodi 安全漏洞 — Geodi 7.1 High 2023-11-22
CVE-2023-4181 Hospital Management System 安全漏洞 — Free Hospital Management System for Small Practices 5.4 Medium 2023-08-06
CVE-2023-1383 Amazon Fire TV Stick 安全漏洞 — Fire TV Stick 3rd gen 5.4 Medium 2023-05-03
CVE-2022-2102 Secheron SEPCOS Control and Protection Relay 代码问题漏洞 — SEPCOS Control and Protection Relay firmware package 9.4 Critical 2022-06-24
CVE-2022-2105 Secheron SEPCOS Control and Protection Relay 安全漏洞 — SEPCOS Control and Protection Relay firmware package 9.4 Critical 2022-06-24
CVE-2022-1667 Secheron SEPCOS Control and Protection Relay 安全漏洞 — SEPCOS Control and Protection Relay firmware package 7.5 High 2022-06-24

CWE-841(行为工作流的不恰当实施) 是常见的弱点类别,本平台收录该类弱点关联的 67 条 CVE 漏洞。