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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-306 (关键功能的认证机制缺失) — Vulnerability Class 1119

1119 vulnerabilities classified as CWE-306 (关键功能的认证机制缺失). AI Chinese analysis included.

CWE-306 represents a critical authentication weakness where software fails to verify user identity before executing sensitive operations or consuming substantial resources. Attackers typically exploit this vulnerability by directly invoking administrative endpoints, initiating high-cost processes, or accessing restricted data without valid credentials, effectively bypassing security controls. This oversight allows unauthorized users to perform actions intended only for authenticated individuals, leading to privilege escalation, data breaches, or denial of service through resource exhaustion. To mitigate this risk, developers must implement robust access control mechanisms that strictly enforce authentication checks on all critical functions. This involves integrating secure session management, validating tokens for every request, and applying the principle of least privilege to ensure that only verified users with appropriate permissions can trigger sensitive operations or consume significant system resources.

MITRE CWE Description
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Common Consequences (1)
Access Control, OtherGain Privileges or Assume Identity, Varies by Context
Exposing critical functionality essentially provides an attacker with the privilege level of that functionality. The consequences will depend on the associated functionality, but they can range from reading or modifying sensitive data, accessing administrative or other privileged functionality, or p…
Mitigations (5)
Architecture and DesignDivide the software into anonymous, normal, privileged, and administrative areas. Identify which of these areas require a proven user identity, and use a centralized authentication capability. Identify all potential communication channels, or other means of interaction with the software, to ensure that all channels are appropriately protected, including those channels that are assumed to be access…
Architecture and DesignFor any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Architecture and DesignWhere possible, avoid implementing custom, "grow-your-own" authentication routines and consider using authentication capabilities as provided by the surrounding framework, operating system, or environment. These capabilities may avoid common weaknesses that are unique to authentication; support automatic auditing and tracking; and make it easier to provide a clear separation between authentication…
Architecture and DesignUse a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator [REF-45].
Implementation, System Configuration, OperationWhen storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to require strong authentication for users who should be allowed to access the data [REF-1297] [REF-1298] [REF-1302].
Examples (2)
In the following Java example the method createBankAccount is used to create a BankAccount object for a bank management application.
public BankAccount createBankAccount(String accountNumber, String accountType, String accountName, String accountSSN, double balance) { BankAccount account = new BankAccount(); account.setAccountNumber(accountNumber); account.setAccountType(accountType); account.setAccountOwnerName(accountName); account.setAccountOwnerSSN(accountSSN); account.setBalance(balance); return account; }
Bad · Java
private boolean isUserAuthentic = false; // authenticate user, // if user is authenticated then set variable to true // otherwise set variable to false public boolean authenticateUser(String username, String password) { ... } public BankAccount createNewBankAccount(String accountNumber, String accountType, String accountName, String accountSSN, double balance) { BankAccount account = null; if (isUserAuthentic) { account = new BankAccount(); account.setAccountNumber(accountNumber); account.setAccountType(accountType); account.setAccountOwnerName(accountName); account.setAccountOwnerSSN(accountS
Good · Java
In 2022, the OT:ICEFALL study examined products by 10 different Operational Technology (OT) vendors. The researchers reported 56 vulnerabilities and said that the products were "insecure by design" [REF-1283]. If exploited, these vulnerabilities often allowed adversaries to change how the products operated, ranging from denial of service to changing the code that the products executed. Since these…
CVE IDTitleCVSSSeverityPublished
CVE-2022-2138 Advantech iView — iView 8.2 High2022-07-22
CVE-2021-36200 Metasys ADS/ADX/OAS with MUI — Metasys ADS/ADX/OAS server 5.3 Medium2022-07-22
CVE-2022-20857 Cisco Nexus Dashboard Unauthorized Access Vulnerabilities — Cisco Nexus Dashboard 9.8 Critical2022-07-21
CVE-2022-20858 Cisco Nexus Dashboard Unauthorized Access Vulnerabilities — Cisco Nexus Dashboard 9.8 Critical2022-07-21
CVE-2022-20861 Cisco Nexus Dashboard Unauthorized Access Vulnerabilities — Cisco Nexus Dashboard 9.8 Critical2022-07-21
CVE-2021-34538 Apache Hive Security vulnerability in Hive with UDFs — Apache Hive 7.5 -2022-07-16
CVE-2022-28771 SAP Business One License service API 访问控制错误漏洞 — SAP Business One License service API 7.5 -2022-07-12
CVE-2022-33138 Siemens SIMATIC 访问控制错误漏洞 — SIMATIC MV540 H 9.1 -2022-07-12
CVE-2021-44222 Siemens SIMATIC eaSie Core Package 访问控制错误漏洞 — SIMATIC eaSie Core Package 9.8 -2022-07-12
CVE-2022-21952 SUMA unauthenticated remote DoS via resource exhaustion — SUSE Manager Server 4.1 7.5 High2022-06-22
CVE-2022-32157 Splunk Enterprise deployment servers allow unauthenticated forwarder bundle downloads — Splunk Enterprise 7.5 High2022-06-15
CVE-2022-32251 Siemens SINEMA Remote Connect Server 访问控制错误漏洞 — SINEMA Remote Connect Server 8.8 High2022-06-14
CVE-2022-30230 Siemens SICAM GridEdge Essential 访问控制错误漏洞 — SICAM GridEdge (Classic) 9.8 Critical2022-06-14
CVE-2022-30229 Siemens SICAM GridEdge Essential 授权问题漏洞 — SICAM GridEdge (Classic) 7.2 High2022-06-14
CVE-2022-29226 Trivial authentication bypass in Envoy — envoy 10.0 Critical2022-06-09
CVE-2022-27169 Open Automation Software OAS Platform 访问控制错误漏洞 — OAS Platform 7.5 High2022-05-25
CVE-2022-26833 Open Automation Software OAS Platform 访问控制错误漏洞 — OAS Platform 9.4 Critical2022-05-25
CVE-2022-26303 Open Automation Software OAS Platform 访问控制错误漏洞 — OAS Platform 7.5 High2022-05-25
CVE-2022-26082 Open Automation Software OAS Platform 访问控制错误漏洞 — OAS Platform 9.1 Critical2022-05-25
CVE-2022-26067 Open Automation Software OAS Platform 访问控制错误漏洞 — OAS Platform 4.9 Medium2022-05-25
CVE-2022-26043 Open Automation Software OAS Platform 访问控制错误漏洞 — OAS Platform 7.5 High2022-05-25
CVE-2022-26026 Open Automation Software OAS Platform 访问控制错误漏洞 — OAS Platform 7.5 High2022-05-25
CVE-2022-29881 Siemens SICAM 访问控制错误漏洞 — SICAM T 5.3 Medium2022-05-10
CVE-2022-29879 Siemens SICAM 访问控制错误漏洞 — SICAM T 4.3 Medium2022-05-10
CVE-2022-29877 Siemens SICAM 访问控制错误漏洞 — SICAM P850 8.2 -2022-05-10
CVE-2022-0424 Popup by Supsystic < 1.10.9 - Unauthenticated Subscriber Email Addresses Disclosure — Popup by Supsystic 5.3 -2022-05-09
CVE-2022-1388 F5 BIG-IP 访问控制错误漏洞 — BIG-IP 9.8 Critical2022-05-05
CVE-2022-27495 F5 NGINX Service Mesh 访问控制错误漏洞 — NGINX Service Mesh 6.5 Medium2022-05-05
CVE-2022-1300 Missing authentication in TRUMPF products may result in corruption of data — TruTops Boost 9.8 Critical2022-05-02
CVE-2021-25094 Tatsu < 3.3.12 - Unauthenticated RCE — Tatsu 8.1 -2022-04-25

Vulnerabilities classified as CWE-306 (关键功能的认证机制缺失) represent 1119 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.