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-0878 Novel attack against the Combined Charging System (CCS) in electric vehicles to remotely cause a denial of service — Combined Charging System 4.6 Medium2022-04-12
CVE-2022-24829 Missing authentication in Garden — garden 8.1 High2022-04-11
CVE-2021-33008 AVEVA System Platform Missing Authentication for Critical Function — AVEVA System Platform 8.8 High2022-04-04
CVE-2020-14479 ICSA-20-147-01 Inductive Automation Ignition (Update B) — Ignition 7 Gateway 5.3 Medium2022-04-01
CVE-2022-0922 ICSMA-22-088-01 Philips e-Alert — e-Alert 6.5 Medium2022-04-01
CVE-2021-3589 Foreman 访问控制错误漏洞 — Foreman Ansible 9.9 -2022-03-23
CVE-2022-25251 PTC Axeda agent and Axeda Desktop Server Missing Authentication For Critical Function — Axeda agent 9.8 Critical2022-03-16
CVE-2022-25250 PTC Axeda agent and Axeda Desktop Server Missing Authentication For Critical Function — Axeda agent 7.5 High2022-03-16
CVE-2022-25247 PTC Axeda agent and Axeda Desktop Server Missing Authentication For Critical Function — Axeda agent 9.8 Critical2022-03-16
CVE-2022-24396 SAP Focused Run 安全漏洞 — SAP Focused Run (Simple Diagnostics Agent) 7.8 -2022-03-08
CVE-2022-25922 ICSA-22-063-01 Missing Authentication for Critical Function in Trailer Power Line Communications (PLC) J2497 — PLC4TRUCKS 6.1 Medium2022-03-07
CVE-2020-10640 ICSA-20-140-02 Emerson OpenEnterprise — OpenEnterprise SCADA Software 10.0 Critical2022-02-24
CVE-2021-22823 Schneider Electric Interactive Graphical SCADA System访问控制错误漏洞 — Interactive Graphical SCADA System Data Collector (dc.exe) (V15.0.0.21320 and prior) 9.1 -2022-02-11
CVE-2021-22805 Schneider Electric IGSS 访问控制错误漏洞 — Interactive Graphical SCADA System Data Collector (dc.exe) (V15.0.0.21243 and prior) 9.1 -2022-02-11
CVE-2022-22809 Schneider Electric spaceLYnk 访问控制错误漏洞 — spaceLYnk (V2.6.2 and prior), Wiser for KNX (formerly homeLYnk) (V2.6.2 and prior), fellerLYnk (V2.6.2 and prior) 5.3 -2022-02-09
CVE-2021-34870 Netgear NETGEAR 访问控制错误漏洞 — XR1000 6.5 -2022-01-25
CVE-2021-23843 Lack of authentication mechanisms on the device — AMS 8.8 High2022-01-19
CVE-2022-21691 Improper Access Control in Onionshare — onionshare 4.3 Medium2022-01-18
CVE-2021-43832 Improper Access Control in spinnaker — spinnaker 10.0 Critical2022-01-04
CVE-2021-45232 security vulnerability on unauthorized access. — Apache APISIX Dashboard 9.8 -2021-12-27
CVE-2021-36780 Unauthorized data access from replicas through vulnerable instance manager pods — Longhorn 8.1 High2021-12-17
CVE-2021-36779 Host operations allowed in privileged Longhorn managed pods — Longhorn 9.6 Critical2021-12-17
CVE-2021-22279 OmniCore RobotWare Missing Authentication Vulnerability — RobotWare 9.8 Critical2021-12-13
CVE-2021-42783 Missing Authentication in debug_post_set.cgi in D-Link DWR-932C E1 Firmware 1.0.0.4 — DWR-932C E1 9.8 -2021-11-23
CVE-2021-39233 Container-related datanode operations can be called without authorization — Apache Ozone 7.5 -2021-11-19
CVE-2021-41266 Authentication bypass issue in the Operator Console — console 8.6 High2021-11-15
CVE-2021-42539 Emerson WirelessHART Gateway — WirelessHART Gateway 8.0 High2021-10-22
CVE-2021-27395 Siemens Simatic Process Historian 访问控制错误漏洞 — SIMATIC Process Historian 2013 and earlier 8.1 -2021-10-12
CVE-2021-3825 Missing Authorization Checks in LiderAhenk — Lider 9.6 Critical2021-10-01
CVE-2021-41104 web_server allows OTA update without checking user defined basic auth username & password — esphome 7.5 High2021-09-28

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