Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-696 (不正确的行为次序) — Vulnerability Class 45

45 vulnerabilities classified as CWE-696 (不正确的行为次序). AI Chinese analysis included.

CWE-696 represents a logical flaw where a software component executes related operations in an incorrect sequence, leading to unintended security vulnerabilities. This weakness typically arises when developers fail to recognize that the order of actions is critical for maintaining system integrity. Attackers exploit this by manipulating the timing or sequence of inputs to trigger race conditions, bypass authentication checks before validation occurs, or cause resource exhaustion before cleanup routines execute. For instance, checking permissions after opening a file handle allows unauthorized access to sensitive data. To prevent such errors, developers must rigorously map out dependency graphs for all critical workflows, ensuring that security controls, such as validation and authorization, are strictly enforced before any state-changing operations. Comprehensive code reviews and formal verification methods further help identify and correct these sequencing defects before deployment.

MITRE CWE Description
The product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways that may produce resultant weaknesses.
Common Consequences (1)
Integrity Alter Execution Logic
Examples (2)
The following code attempts to validate a given input path by checking it against an allowlist and then return the canonical path. In this specific case, the path is considered valid if it starts with the string "/safe_dir/".
String path = getInputPath(); if (path.startsWith("/safe_dir/")) { File f = new File(path); return f.getCanonicalPath(); }
Bad · Java
String path = getInputPath(); File f = new File(path); if (f.getCanonicalPath().startsWith("/safe_dir/")) { return f.getCanonicalPath(); }
Good · Java
This function prints the contents of a specified file requested by a user.
function printFile($username,$filename){ //read file into string $file = file_get_contents($filename); if ($file && isOwnerOf($username,$filename)){ echo $file; return true; } else{ echo 'You are not authorized to view this file'; } return false; }
Bad · PHP
CVE ID Title CVSS Severity Published
CVE-2026-33305 OpenEMR has Authorization Bypass in FaxSMS AppDispatch Constructor — openemr 5.4 Medium 2026-03-19
CVE-2025-9904 Canon多款产品 安全漏洞 — Generic Plus PCL6 Printer Driver 5.3 Medium 2025-09-29
CVE-2025-55114 BMC Control-M/Agent improper IP address filtering order — Control-M/Agent 5.3 Medium 2025-09-16
CVE-2025-48965 Mbed TLS 安全漏洞 — mbedtls 4.0 Medium 2025-07-20
CVE-2021-47688 WhiteBeam 安全漏洞 — WhiteBeam 5.7 Medium 2025-06-23
CVE-2025-31485 GraphQL grant on a property might be cached with different objects — core 7.5 High 2025-04-03
CVE-2025-0150 Zoom Workplace Apps for iOS - Incorrect Behavior Order — Zoom Workplace Apps for iOS 7.1 High 2025-03-11
CVE-2023-52968 MariaDB 安全漏洞 — MariaDB 4.9 Medium 2025-03-08
CVE-2024-35229 ZKsync Era evaluation order of Yul function arguments — era-compiler-solidity 5.3 Medium 2024-05-27
CVE-2024-30389 Junos OS: EX4300 Series: Firewall filter not blocking egress traffic — Junos OS 5.8 Medium 2024-04-12
CVE-2024-30410 Junos OS: EX4300 Series: Loopback filter not blocking traffic despite having discard term. — Junos 5.8 Medium 2024-04-12
CVE-2023-23576 Gallagher Command Centre 安全漏洞 — Command Centre Server 4.3 Medium 2023-12-18
CVE-2023-33224 SolarWinds Platform Incorrect Behavior Order Vulnerability — SolarWinds Platform 7.2 High 2023-07-26
CVE-2021-22569 Denial of Service of protobuf-java parsing procedure — protobuf-java 7.5 High 2022-01-07
CVE-2021-31379 Junos OS: MX Series: MPC 7/8/9/10/11 cards with MAP-E: PFE halts when an attacker sends malformed IPv4 or IPv6 traffic inside the MAP-E tunnel. — Junos OS 7.5 High 2021-10-19

Vulnerabilities classified as CWE-696 (不正确的行为次序) represent 45 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.