CWEweakness

CWE-841 Improper Enforcement of Behavioral Workflow

Official page ↗
Abstraction
Class
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

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 or timeframe.

Common consequences

• Other: Alter Execution Logic, Unexpected State — 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 with security implications.

Detection methods

• Automated Static Analysis: 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.)

Observed examples

• CVE-2011-0348: Bypass of access/billing restrictions by sending traffic to an unrestricted destination before sending to a restricted destination. • CVE-2007-3012: Attacker can access portions of a restricted page by canceling out of a dialog. • CVE-2009-5056: Ticket-tracking system does not enforce a permission setting. • CVE-2004-2164: Shopping cart does not close a database connection when user restores a previous order, leading to connection exhaustion. • CVE-2003-0777: Chain: product does not properly handle dropped connections, leading to missing NULL terminator (CWE-170) and segmentation fault. • CVE-2005-3327: Chain: Authentication bypass by skipping the first startup step as required by the protocol. • CVE-2004-0829: Chain: File server crashes when sent a "find next" request without an initial "find first." • CVE-2010-2620: FTP server allows remote attackers to bypass authentication by sending (1) LIST, (2) RETR, (3) STOR, or other commands without performing the required login steps first. • CVE-2005-3296: FTP server allows remote attackers to list arbitrary directories as root by running the LIST command before logging in.

Related

Observed example · CVE (9)

  • CVE-2009-5056 Open Ticket Request System (OTRS) before 2.4.0-beta2 does not properly enforce the move_into permission setting for a queue, which allows… vulnerability
  • CVE-2011-0348 Cisco IOS 12.4(11)MD, 12.4(15)MD, 12.4(22)MD, 12.4(24)MD before 12.4(24)MD3, 12.4(22)MDA before 12.4(22)MDA5, and 12.4(24)MDA before… vulnerability
  • CVE-2010-2620 Open&Compact FTP Server (Open-FTPD) 1.2 and earlier allows remote attackers to bypass authentication by sending (1) LIST, (2) RETR, (3)… vulnerability
  • CVE-2007-3012 The web interface in Fujitsu-Siemens Computers PRIMERGY BX300 Switch Blade allows remote attackers to obtain sensitive information by… vulnerability
  • CVE-2005-3327 Network Appliance Data ONTAP 7.0 and earlier allows iSCSI Initiators to bypass iSCSI authentication via a modified client that skips the… vulnerability
  • CVE-2005-3296 The FTP server in HP-UX 10.20, B.11.00, and B.11.11, allows remote attackers to list arbitrary directories as root by running the LIST… vulnerability
  • CVE-2004-0829 smbd in Samba before 2.2.11 allows remote attackers to cause a denial of service (daemon crash) by sending a FindNextPrintChangeNotify… vulnerability
  • CVE-2004-2164 shoprestoreorder.asp in VP-ASP 5.0 does not close the database connection when a user restores a previous order, which allows remote… vulnerability
  • CVE-2003-0777 saned in sane-backends 1.0.7 and earlier, when debug messages are enabled, does not properly handle dropped connections, which can prevent… vulnerability

Child of · CWE (1)

  • CWE-691 Insufficient Control Flow Management weakness

Referenced by CVE · weakness (85)

  • CVE-2026-115248 A vulnerability was detected in subhajitkhan online-clinic-management-system up to e9ee77a8827a1446220fa07ee693dc4d9a29a578. vulnerability
  • CVE-2026-103977 FileRise is a self-hosted web-based file manager with multi-file upload, editing, and batch operations. vulnerability
  • CVE-2026-70079 Improper enforcement of behavioral workflow in Windows DNS allows an unauthorized attacker to deny service over a network. vulnerability
  • CVE-2026-108789 A vulnerability was identified in deepseek-ai deepseek-harness up to 0.1.1-rc.2. vulnerability
  • CVE-2026-19878 IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Verify Identity Access 11.0 through 11.0.3 could allow a remote authenticated… vulnerability
  • CVE-2026-104626 A user who can open a fork pull request can place workflow content with a shared run-level concurrency group into a Gitea Actions run that… vulnerability
  • CVE-2026-95369 Inappropriate implementation in XML in Google Chrome prior to 154.0.8037.57 allowed a remote attacker to potentially execute arbitrary code… vulnerability
  • CVE-2026-95370 Inappropriate implementation in NFC in Google Chrome prior to 154.0.8037.57 allowed a remote attacker to bypass system access restrictions… vulnerability
  • CVE-2026-95385 Inappropriate implementation in PlatformIntegration in Google Chrome on on Windows prior to 154.0.8037.57 allowed a remote attacker… vulnerability
  • CVE-2026-82406 Klever-Go is the Go implementation of the Klever blockchain protocol. vulnerability
  • CVE-2026-65126 NVIDIA Infrastructure Controller for Linux contains a vulnerability where an attacker could cause improper enforcement of a behavioral… vulnerability
  • CVE-2026-48974 HomeBox is a home inventory and organization system. vulnerability
  • CVE-2026-78135 libcharon in strongSwan 5.9.7 through 6.0.7 mishandles behavioral workflow in the IKEv2 state machine. vulnerability
  • CVE-2026-87503 Inappropriate implementation in Downloads in Google Chrome on on Android prior to 153.0.8010.36 allowed a remote attacker leveraging social… vulnerability
  • CVE-2026-53637 Sylius is an Open Source eCommerce Framework on Symfony. vulnerability
  • CVE-2026-67279 RouterOS SSH enters the connection protocol after a client-requested rekey even though user authentication was never attempted, allowing an… vulnerability
  • CVE-2026-82423 A vulnerability has been found in macrozheng mall up to 1.0.3. vulnerability
  • CVE-2026-55763 Klever-Go is the Go implementation of the Klever blockchain protocol. vulnerability
  • CVE-2026-78103 WatchGuard Dimension provides a client-side lock/unlock UI control for management changes. vulnerability
  • CVE-2026-78618 A business logic flaw in WatchGuard Dimension allows an authenticated administrator to trigger multiple backend operations within a single… vulnerability
  • CVE-2026-15365 A pop-up logic flaw in a certain feature of Kids Mode allows users to bypass password verification and use Quick Apps outside the app. vulnerability
  • CVE-2026-77508 Weblate is a web based localization tool. vulnerability
  • CVE-2026-80195 Kimai before 2.63.0 contains a business logic / improper authorization vulnerability in the team update API endpoint (PATCH… vulnerability
  • CVE-2026-79083 Improper enforcement of behavioral workflow in Media in Google Chrome prior to 152.0.7977.65 allowed a remote attacker who had compromised… vulnerability
  • CVE-2026-75081 A vulnerability was detected in Webkul Bagisto up to 2.4.4. vulnerability
  • CVE-2026-19993 A vulnerability has been found in Webkul Bagisto up to 2.4.4. vulnerability
  • CVE-2026-19208 A vulnerability was detected in WonderTrader up to 0.9.9. vulnerability
  • CVE-2026-19213 A vulnerability was identified in WonderTrader up to 0.9.9. vulnerability
  • CVE-2026-19037 A weakness has been identified in WonderTrader up to 0.9.9. vulnerability
  • CVE-2026-18029 Our payment integration with GiroCheckout did not properly validate payment status responses. vulnerability
Show all 85 ›

Referenced by CWE · child of (1)

  • CWE-1476 Improper Request Propagation before Data Reception in Write Transactions in a Bus Architecture weakness

Referenced by CWE · has member (1)

Referenced by OWASP · mapped cwe (3)