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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

1912 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-2019-3978 MikroTik RouterOS 访问控制错误漏洞 — MikroTik RouterOS 7.5 - 2019-10-28
CVE-2019-13525 Honeywell IP-AK2 访问控制错误漏洞 — Honeywell IP-AK2 5.3 - 2019-10-25
CVE-2019-13549 Rittal Chiller SK 3232-Series 访问控制错误漏洞 — Rittal Chiller SK 3232-Series 7.5 - 2019-10-25
CVE-2019-15282 Cisco Identity Services Engine Information Disclosure Vulnerability — Cisco Identity Services Engine Software 5.3 - 2019-10-16
CVE-2019-1895 Cisco Enterprise NFV Infrastructure Software VNC Authentication Bypass Vulnerability — Cisco Enterprise NFV Infrastructure Software 9.8 - 2019-08-07
CVE-2015-7559 Apache ActiveMQ 输入验证错误漏洞 — ActiveMQ 4.9 - 2019-08-01
CVE-2019-10915 Siemens TIA Administrator 访问控制错误漏洞 — TIA Administrator 7.8 - 2019-07-11
CVE-2019-1876 Cisco Wide Area Application Services Software HTTPS Proxy Authentication Bypass Vulnerability — Cisco Wide Area Application Services (WAAS) 5.3 - 2019-06-20
CVE-2019-1631 Cisco Integrated Management Controller Information Disclosure Vulnerability — Cisco Unified Computing System (Management Software) 5.3 - 2019-06-20
CVE-2019-1629 Cisco Integrated Management Controller Arbitrary File Write Vulnerability — Cisco Unified Computing System (Management Software) 7.5 - 2019-06-20
CVE-2017-15123 Red Hat CloudForms 访问控制错误漏洞 — CloudForms 7.5 - 2019-06-12
CVE-2019-6820 多款Schneider Electric产品访问控制错误漏洞 — Modicon and PacDrive Controller, All versions of: Modicon M100, Modicon M200, Modicon M221, ATV IMC drive controller, Modicon M241, Modicon M251, Modicon M258, Modicon LMC058, Modicon LMC078, PacDrive Eco ,PacDrive Pro, PacDrive Pro2 8.2 - 2019-05-22
CVE-2019-10919 Siemens LOGO!8 BM 访问控制错误漏洞 — LOGO! 8 BM (incl. SIPLUS variants) 9.8 - 2019-05-14
CVE-2019-10922 Siemens SIMATIC WinCC和SIMATIC PCS 7 访问控制错误漏洞 — SIMATIC PCS 7 V8.0 and earlier 9.8 - 2019-05-14
CVE-2019-6542 ENTTEC Datagate MK2 访问控制错误漏洞 — Datagate MK2 7.5 - 2019-03-28
CVE-2019-3917 Nokia Alcatel Lucent I-240W-Q GPON ONT 访问控制错误漏洞 — Alcatel Lucent I-240W-Q GPON ONT 7.5 - 2019-03-05
CVE-2018-19636 Local root exploit via inclusion of attacker controlled shell script — supportutils 7.8 - 2019-03-05
CVE-2019-6543 AVEVA Group plc InduSoft Web Studio和InTouch Edge HMI 访问控制错误漏洞 — AVEVA Software, LLC InduSoft Web Studio prior to Version 8.1 SP3 and InTouch Edge HMI (formerly InTouch Machine Edition) prior to Version 2017 Update 8.4 - 2019-02-13
CVE-2019-6533 Kunbus PR100088 Modbus 安全漏洞 — PR100088 Modbus gateway 9.1 - 2019-02-12
CVE-2018-0181 Cisco Policy Suite for Mobile and Cisco Policy Suite Diameter Routing Agent Software Redis Server Unauthenticated Access Vulnerability — Cisco Policy Suite (CPS) Software 9.1 - 2019-01-10
CVE-2018-18995 ABB GATE-E1和GATE-E2 安全漏洞 — ABB GATE-E1 and GATE-E2 9.8 - 2019-01-03
CVE-2018-17924 多款Rockwell Automation产品安全漏洞 — Rockwell Automation 7.5 - 2018-12-07
CVE-2018-5393 TP-Link EAP Controller versions 2.5.3 and earlier lack RMI authentication — EAP Controller 9.8 - 2018-09-28
CVE-2018-14796 Tec4Data SmartCooler 安全漏洞 — SmartCooler 7.5 - 2018-09-20
CVE-2018-10603 Martem GW6和GWM 授权问题漏洞 — TELEM GW6 9.8 - 2018-07-31
CVE-2017-2637 Red Hat OpenStack 权限许可和访问控制问题漏洞 — rhosp-director 10.0 - 2018-07-26
CVE-2017-3217 CalAmp LMU 3030 series OBD-II CDMA and GSM devices has an SMS (text message) interface that can be deployed where no password is configured for this interface by the integrator / reseller — LMU 3030 OBD-II 8.1 - 2018-07-24
CVE-2018-0374 Cisco Policy Suite 安全漏洞 — Cisco Policy Suite unknown 9.1 - 2018-07-18
CVE-2018-0376 Cisco Policy Suite 安全漏洞 — Cisco Policy Suite unknown 7.5 - 2018-07-18
CVE-2018-0377 Cisco Policy Suite 安全漏洞 — Cisco Policy Suite unknown 9.1 - 2018-07-18

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