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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

1915 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-2023-26571 Missing Authentication In IDAttend’s IDWeb Application — IDWeb 7.5 High 2023-10-25
CVE-2023-26570 Missing Authentication In IDAttend’s IDWeb Application — IDWeb 7.5 High 2023-10-25
CVE-2023-44116 Huawei HarmonyOS 访问控制错误漏洞 — HarmonyOS 9.4 - 2023-10-11
CVE-2023-4884 Multiple vulnerabilities in Open5GS — Open5GS 6.5 Medium 2023-10-03
CVE-2023-44152 Acronis Cyber Protect 安全漏洞 — Acronis Cyber Protect 15 9.1 - 2023-09-27
CVE-2023-41333 Bypass of namespace restrictions in CiliumNetworkPolicy — cilium 6.9 Medium 2023-09-26
CVE-2023-36851 Junos OS: SRX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload and download arbitrary files — Junos OS 5.3 Medium 2023-09-26
CVE-2023-4505 Staff / Employee Business Directory for Active Directory <= 1.2.3 - Authenticated (Admin+) LDAP Passback — Staff/Employee Business Directory for Active Directory 2.2 Low 2023-09-26
CVE-2023-4506 Active Directory Integration / LDAP Integration <= 4.1.10 - LDAP Passback — Active Directory Integration / LDAP Integration 2.2 Low 2023-09-26
CVE-2023-43644 Improper authentication in the SOCKS5 inbound in sing-box — sing-box 9.1 Critical 2023-09-25
CVE-2023-4516 Schneider Electric IGSS 访问控制错误漏洞 — IGSS Update Service (IGSSupdateservice.exe) 7.8 High 2023-09-14
CVE-2023-41367 Missing Authentication check in SAP NetWeaver (Guided Procedures) — SAP NetWeaver (Guided Procedures) 5.3 Medium 2023-09-12
CVE-2023-4815 Missing Authentication for Critical Function in answerdev/answer — answerdev/answer 6.5 - 2023-09-07
CVE-2023-31132 Cacti Privilege Escalation — cacti 7.8 High 2023-09-05
CVE-2023-39981 MXsecurity Device Information Disclosure — MXsecurity Series 7.5 High 2023-09-02
CVE-2023-34392 Missing Authentication for Critical Function — SEL-5037 SEL Grid Configurator 8.2 High 2023-08-31
CVE-2023-38030 Saho ADM100&ADM-100FP - Execute Code — ADM100 7.5 High 2023-08-28
CVE-2023-38028 Saho ADM100&ADM-100FP - Broken Access Control — ADM100 9.1 Critical 2023-08-28
CVE-2023-40585 Unauthenticated access to Ironic API — ironic-image 7.3 High 2023-08-25
CVE-2023-38422 Walchem Intuition Missing Authentication for Critical Function — Intuition 9 7.5 High 2023-08-23
CVE-2023-36846 Junos OS: SRX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload arbitrary files — Junos OS 5.3 Medium 2023-08-17
CVE-2023-36847 Junos OS: EX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload arbitrary files — Junos OS 5.3 Medium 2023-08-17
CVE-2023-38186 Windows Mobile Device Management Elevation of Privilege Vulnerability — Windows 10 Version 21H2 8.8 High 2023-08-08
CVE-2023-37373 Siemens RUGGEDCOM CROSSBOW 访问控制错误漏洞 — RUGGEDCOM CROSSBOW 5.3 Medium 2023-08-08
CVE-2023-39436 Information Disclosure in SAP Supplier Relationship Management — SAP Supplier Relationship Management 5.8 Medium 2023-08-08
CVE-2023-37483 Improper Access Control Vulnerabilities in SAP PowerDesigner — SAP PowerDesigner 9.8 Critical 2023-08-08
CVE-2023-36926 Information disclosure vulnerability in SAP Host Agent — SAP Host Agent 3.7 Low 2023-08-08
CVE-2023-34329 Authentication Bypass via HTTP Header Spoofing — MegaRAC_SPx12 8.4 High 2023-07-18
CVE-2023-37265 Incorrect identification of source IP addresses in CasaOS — CasaOS-Gateway 9.8 Critical 2023-07-17
CVE-2023-35874 Improper authentication vulnerability in SAP NetWeaver AS ABAP and ABAP Platform — SAP NetWeaver AS ABAP and ABAP Platform 6.0 Medium 2023-07-11

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