CWE-841Improper Enforcement of Behavioral Workflow

PUBLISHEDweakness record
released 2011-03-30 · last modified 2025-12-11

Metadata

CWE ID:
CWE-841
摘要:
Class
结构:
Simple
状态:
Incomplete
发布日期:
2011-03-30
更新日期:
2025-12-11

名称

Improper Enforcement of Behavioral Workflow

描述

The product supports a session in which more than one behavior must be performed by an actor, but it does not properly ensure that the actor performs the behaviors in the required sequence.

By performing actions in an unexpected order, or by omitting steps, an attacker could manipulate the business logic of the product or cause it to enter an invalid state. In some cases, this can also expose resultant weaknesses. For example, a file-sharing protocol might require that an actor perform separate steps to provide a username, then a password, before being able to transfer files. If the file-sharing server accepts a password command followed by a transfer command, without any username being provided, the product might still perform the transfer. Note that this is different than CWE-696, which focuses on when the product performs actions in the wrong sequence; this entry is closely related, but it is focused on ensuring that the actor performs actions in the correct sequence. Workflow-related behaviors include:

常见后果

范围:
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.

相关 CWE