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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

1913 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, Other Gain 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 Design Divide 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 Design For 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 Design Where 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 Design Use 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, Operation When 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 ID Title CVSS Severity Published
CVE-2021-20998 WAGO: Managed Switches: Unauthorized creation of user accounts — 0852-0303 10.0 Critical 2021-05-13
CVE-2021-1499 Cisco HyperFlex HX Data Platform File Upload Vulnerability — Cisco HyperFlex HX Data Platform 5.3 Medium 2021-05-06
CVE-2021-21535 Dell Hybrid Client 访问控制错误漏洞 — Dell Hybrid Client (DHC) 7.4 High 2021-04-30
CVE-2021-29442 Authentication bypass — nacos 8.6 High 2021-04-27
CVE-2021-20990 Fibaro Home Center Unauthenticated access to shutdown, reboot and reboot to recovery mode — Fibaro Home Center 7.5 High 2021-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 Critical 2021-02-24
CVE-2021-1393 Cisco Application Services Engine Unauthorized Access Vulnerabilities — Cisco Application Services Engine Software 9.8 Critical 2021-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 High 2021-02-09
CVE-2020-15798 Siemens Simatic Hmi 访问控制错误漏洞 — SIMATIC HMI Comfort Panels (incl. SIPLUS variants) 9.1 - 2021-02-09
CVE-2021-1246 Cisco Finesse OpenSocial Gadget Editor Unauthenticated Access Vulnerability — Cisco Unified Customer Voice Portal (CVP) 6.5 Medium 2021-01-13
CVE-2020-15799 Siemens SCALANCE X-200IRT 访问控制错误漏洞 — SCALANCE X-200 switch family (incl. SIPLUS NET variants) 6.5 - 2021-01-12
CVE-2020-27285 Red Lion Controls Crimson 访问控制错误漏洞 — Crimson 3.1 9.1 - 2021-01-06
CVE-2020-25228 Siemens LOGO! 8 BM 访问控制错误漏洞 — LOGO! 8 BM (incl. SIPLUS variants) 9.8 - 2020-12-14
CVE-2020-7540 多款Schneider Electric产品访问控制错误漏洞 — Web Server on Modicon M340, Legacy Offers Modicon Quantum and Modicon Premium and associated Communication Modules (see security notification for affected versions) 9.8 - 2020-12-11
CVE-2020-3531 Cisco IoT Field Network Director Unauthenticated REST API Vulnerability — Cisco IoT Field Network Director (IoT-FND) 9.8 - 2020-11-18
CVE-2020-3392 Cisco IoT Field Network Director Missing API Authentication Vulnerability — Cisco IoT Field Network Director (IoT-FND) 7.5 - 2020-11-18
CVE-2020-12500 Pepperl+Fuchs improper authorization affects multiple Comtrol RocketLinx products — P+F Comtrol RocketLinx 9.8 Critical 2020-10-15
CVE-2020-3598 Cisco Vision Dynamic Signage Director Missing Authentication Vulnerability — Cisco Vision Dynamic Signage Director 6.5 Medium 2020-10-08
CVE-2020-12505 WAGO: Vulnerability in web-based authentication in WAGO 750-8XX Version <= FW07 — 750-852 8.2 High 2020-09-30
CVE-2020-12506 WAGO: Authentication Bypass Vulnerability in WAGO 750-36X and WAGO 750-8XX Versions <= FW03 — 750-362 9.1 Critical 2020-09-30
CVE-2019-16004 Cisco Vision Dynamic Signage Director Authentication Bypass Vulnerability — Cisco Vision Dynamic Signage Director 8.2 - 2020-09-23
CVE-2020-15127 Denial of service in Contour — contour 7.5 High 2020-08-05
CVE-2020-3461 Cisco Data Center Network Manager Information Disclosure Vulnerability — Cisco Data Center Network Manager 7.5 - 2020-07-31
CVE-2020-3376 Cisco Data Center Network Manager Authentication Bypass Vulnerability — Cisco Data Center Network Manager 7.3 High 2020-07-31
CVE-2020-10920 C-More HMI EA9 访问控制错误漏洞 — HMI EA9 9.8 - 2020-07-23

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