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-2019-10941 SINEMA Server 访问控制错误漏洞 — SINEMA Server 5.3 -2021-09-14
CVE-2021-33543 UDP Technology/Geutebrück camera devices: Authentication Bypass — E2 Series 9.8 Critical2021-09-13
CVE-2021-32800 Bypass of Two Factor Authentication in Nextcloud server — security-advisories 8.1 High2021-09-07
CVE-2021-31868 Rapid7 Nexpose Security Console Ticket Access Authentication Vulnerability — Nexpose 4.3 Medium2021-08-19
CVE-2021-37697 Sensitive information leak in Welcome of tmerc-cogs — tmerc-cogs 7.1 High2021-08-11
CVE-2021-37696 Sensitive information leak in MassDM of tmerc-cogs — tmerc-cogs 7.1 High2021-08-11
CVE-2020-7389 Sage X3 Syracuse Missing Authentication for Critical Function in Developer Environment — X3 5.5 Medium2021-07-22
CVE-2021-22772 Schneider Electric Easergy T200产品访问控制错误漏洞 — Easergy T200 ((Modbus) SC2-04MOD-07000100 and earlier), Easergy T200 ((IEC104) SC2-04IEC-07000100 and earlier), and Easergy T200 ((DNP3) SC2-04DNP-07000102 and earlier) 9.8 -2021-07-21
CVE-2021-22784 Schneider Electric C-Bus Toolkit 访问控制错误漏洞 — C-Bus Toolkit v1.15.8 and prior 9.8 -2021-07-21
CVE-2021-31337 Siemens SINAMICS SL150 访问控制错误漏洞 — SINAMICS Medium Voltage Products 9.8 -2021-06-28
CVE-2021-32709 Creation of order credits was not validated by acl in admin orders — platform 4.9 Medium2021-06-24
CVE-2021-32700 Supply chain attack via MiTM against users — ballerina-lang 9.1 Critical2021-06-22
CVE-2021-32659 Automatic room upgrade handling can be used maliciously to bridge a room non-consentually — matrix-appservice-bridge 6.5 Medium2021-06-16
CVE-2021-32930 Advantech Iview 访问控制错误漏洞 — iView 9.8 -2021-06-11
CVE-2020-25697 X.Org X Server 访问控制错误漏洞 — xorg-x11-server 7.0 -2021-05-26
CVE-2021-32453 SITEL CAP/PRX information exposure — CAP/PRX 6.5 Medium2021-05-17
CVE-2021-20998 WAGO: Managed Switches: Unauthorized creation of user accounts — 0852-0303 10.0 Critical2021-05-13
CVE-2021-1499 Cisco HyperFlex HX Data Platform File Upload Vulnerability — Cisco HyperFlex HX Data Platform 5.3 Medium2021-05-06
CVE-2021-21535 Dell Hybrid Client 访问控制错误漏洞 — Dell Hybrid Client (DHC) 7.4 High2021-04-30
CVE-2021-29442 Authentication bypass — nacos 8.6 High2021-04-27
CVE-2021-20990 Fibaro Home Center Unauthenticated access to shutdown, reboot and reboot to recovery mode — Fibaro Home Center 7.5 High2021-04-19
CVE-2020-27225 Eclipse Platform 访问控制错误漏洞 — Eclipse Platform 7.8 -2021-03-09
CVE-2021-20262 Red Hat Keycloak 访问控制错误漏洞 — keycloak 9.8 -2021-03-09
CVE-2021-27255 Netgear NETGEAR R7800 访问控制错误漏洞 — R7800 8.8 -2021-03-05
CVE-2021-1396 Cisco Application Services Engine Unauthorized Access Vulnerabilities — Cisco Application Services Engine Software 9.8 Critical2021-02-24
CVE-2021-1393 Cisco Application Services Engine Unauthorized Access Vulnerabilities — Cisco Application Services Engine Software 9.8 Critical2021-02-24
CVE-2021-20198 Red Hat OpenShift Container Platform 访问控制错误漏洞 — openshift/installer 8.1 -2021-02-23
CVE-2021-22652 Advantech Iview 访问控制错误漏洞 — Advantech iView 9.8 -2021-02-11
CVE-2020-26192 DELL EMC PowerScale 访问控制错误漏洞 — PowerScale OneFS 7.8 High2021-02-09
CVE-2020-15798 Siemens Simatic Hmi 访问控制错误漏洞 — SIMATIC HMI Comfort Panels (incl. SIPLUS variants) 9.1 -2021-02-09

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