CWEweakness
CWE-306 Missing Authentication for Critical Functionality
High
Official page ↗
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Likelihood of exploit
- High
- Languages
- Go, Not Language-Specific
- CWE version
- 5.0
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
• 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 possibly even executing arbitrary code.
Potential mitigations
• [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 accessible only by authorized parties. Developers sometimes perform authentication at the primary channel, but open up a secondary channel that is assumed to be private. For example, a login mechanism may be listening on one network port, but after successful authentication, it may open up a second port where it waits for the connection, but avoids authentication because it assumes that only the authenticated party will connect to the port.
In general, if the software or protocol allows a single session or user state to persist across multiple connections or channels, authentication and appropriate credential management need to be used throughout.
• [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 tasks and authorization tasks.
In environments such as the World Wide Web, the line between authentication and authorization is sometimes blurred. If custom authentication routines are required instead of those provided by the server, then these routines must be applied to every single page, since these pages could be requested directly.
• [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].
Detection methods
• Manual Analysis: This weakness can be detected using tools and techniques that require manual (human) analysis, such as penetration testing, threat modeling, and interactive tools that allow the tester to record and modify an active session.
Specifically, manual static analysis is useful for evaluating the correctness of custom authentication mechanisms.
• Automated Static Analysis: Automated static analysis is useful for detecting commonly-used idioms for authentication. A tool may be able to analyze related configuration files, such as .htaccess in Apache web servers, or detect the usage of commonly-used authentication libraries.
Generally, automated static analysis tools have difficulty detecting custom authentication schemes. In addition, the software's design may include some functionality that is accessible to any user and does not require an established identity; an automated technique that detects the absence of authentication may report false positives.
• Manual Static Analysis - Binary or Bytecode: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Binary / Bytecode disassembler - then use manual analysis for vulnerabilities & anomalies
• Dynamic Analysis with Automated Results Interpretation: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Web Application Scanner
• Web Services Scanner
• Database Scanners
• Dynamic Analysis with Manual Results Interpretation: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Host Application Interface Scanner
• Fuzz Tester
• Framework-based Fuzzer
• Manual Static Analysis - Source Code: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Focused Manual Spotcheck - Focused manual analysis of source
• Manual Source Code Review (not inspections)
• Automated Static Analysis - Source Code: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Source code Weakness Analyzer
• Context-configured Source Code Weakness Analyzer
• Architecture or Design Review: According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
• Inspection (IEEE 1028 standard) (can apply to requirements, design, source code, etc.)
• Formal Methods / Correct-By-Construction
Cost effective for partial coverage:
• Attack Modeling
Observed examples
• CVE-2024-11680: File-sharing PHP product does not check if user is logged in during requests for PHP library files under an includes/ directory, allowing configuration changes, code execution, and other impacts.
• CVE-2022-31260: Chain: a digital asset management program has an undisclosed backdoor in the legacy version of a PHP script (CWE-912) that could allow an unauthenticated user to export metadata (CWE-306)
• CVE-2022-29951: TCP-based protocol in Programmable Logic Controller (PLC) has no authentication.
• CVE-2022-29952: Condition Monitor firmware uses a protocol that does not require authentication.
• CVE-2022-30276: SCADA-based protocol for bridging WAN and LAN traffic has no authentication.
• CVE-2022-30313: Safety Instrumented System uses proprietary TCP protocols with no authentication.
• CVE-2022-30317: Distributed Control System (DCS) uses a protocol that has no authentication.
• CVE-2021-21972: Chain: Cloud computing virtualization platform does not require authentication for upload of a tar format file (CWE-306), then uses .. path traversal sequences (CWE-23) in the file to access unexpected files, as exploited in the wild per CISA KEV.
• CVE-2020-10263: Bluetooth speaker does not require authentication for the debug functionality on the UART port, allowing root shell access
• CVE-2021-23147: WiFi router does not require authentication for its UART port, allowing adversaries with physical access to execute commands as root
• CVE-2021-37415: IT management product does not perform authentication for some REST API requests, as exploited in the wild per CISA KEV.
• CVE-2020-13927: Default setting in workflow management product allows all API requests without authentication, as exploited in the wild per CISA KEV.
• CVE-2002-1810: MFV. Access TFTP server without authentication and obtain configuration file with sensitive plaintext information.
• CVE-2008-6827: Agent software running at privileges does not authenticate incoming requests over an unprotected channel, allowing a Shatter" attack.
• CVE-2004-0213: Product enforces restrictions through a GUI but not through privileged APIs.
• CVE-2020-15483: monitor device allows access to physical UART debug port without authentication
• CVE-2019-9201: Programmable Logic Controller (PLC) does not have an authentication feature on its communication protocols.
Related
Attack pattern · CAPEC (5)
Observed example · CVE (17)
- CVE-2024-11680 ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. vulnerability
- CVE-2022-30317 Honeywell Experion LX through 2022-05-06 has Missing Authentication for a Critical Function. vulnerability
- CVE-2022-30313 Honeywell Experion PKS Safety Manager through 2022-05-06 has Missing Authentication for a Critical Function. vulnerability
- CVE-2022-29951 JTEKT TOYOPUC PLCs through 2022-04-29 mishandle authentication. vulnerability
- CVE-2022-29952 Bently Nevada condition monitoring equipment through 2022-04-29 mishandles authentication. vulnerability
- CVE-2022-30276 The Motorola MOSCAD and ACE line of RTUs through 2022-05-02 omit an authentication requirement. vulnerability
- CVE-2022-31260 In Montala ResourceSpace through 9.8 before r19636, csv_export_results_metadata.php allows attackers to export collection metadata via a… vulnerability
- CVE-2021-23147 Netgear Nighthawk R6700 version 1.0.4.120 does not have sufficient protections for the UART console. vulnerability
- CVE-2021-37415 Zoho ManageEngine ServiceDesk Plus before 11302 is vulnerable to authentication bypass that allows a few REST-API URLs without… vulnerability
- CVE-2021-21972 The vSphere Client (HTML5) contains a remote code execution vulnerability in a vCenter Server plugin. vulnerability
- CVE-2020-13927 The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security… vulnerability
- CVE-2020-15483 An issue was discovered on Nescomed Multipara Monitor M1000 devices. vulnerability
- CVE-2020-10263 An issue was discovered on XIAOMI XIAOAI speaker Pro LX06 1.52.4. vulnerability
- CVE-2019-9201 Multiple Phoenix Contact devices allow remote attackers to establish TCP sessions to port 1962 and obtain sensitive information or make… vulnerability
- CVE-2008-6827 The ListView control in the Client GUI (AClient.exe) in Symantec Altiris Deployment Solution 6.x before 6.9.355 SP1 allows local users to… vulnerability
- CVE-2004-0213 Utility Manager in Windows 2000 launches winhlp32.exe while Utility Manager is running with raised privileges, which allows local users to… vulnerability
- CVE-2002-1810 D-Link DWL-900AP+ Access Point 2.1 and 2.2 allows remote attackers to access the TFTP server without authentication and read the config.img… vulnerability
Child of · CWE (1)
- CWE-287 Improper Authentication weakness
Referenced by CAPEC · weakness (5)
Referenced by CVE · weakness (3,727)
- CVE-2026-113387 The Ortto plugin for WordPress before 1.0.25 did not authenticate configuration update requests, relying only on a secret exposed in public… vulnerability
- CVE-2026-88941 Kaspersky has fixed a vulnerability in the Network Agent for Windows module of Kaspersky Security Center. vulnerability
- CVE-2026-103409 A Missing authentication for critical function vulnerability in Juniper Networks Session Smart Router allows an unauthenticated… vulnerability
- CVE-2026-112197 Vulnerability due to a lack of authentication in critical functions of the NoviGest Desktop App's Java RMI service. vulnerability
- CVE-2026-118690 Signal K Server before 2.33.0 contains a missing authentication vulnerability that allows unauthenticated remote attackers to download log… vulnerability
- CVE-2026-61542 Gearboy is a Game Boy, Game Boy Color, and Super Game Boy emulator and debugger with an embedded MCP server. vulnerability
- CVE-2026-61571 AVideo is a video-sharing Platform. vulnerability
- CVE-2026-63190 FearlessCMS is a flat-file `content` management system centered on simplicity and open source. vulnerability
- CVE-2026-102816 An authorization vulnerability exists in the country or region configuration interface of TP-Link RE305 V3. vulnerability
- CVE-2026-104189 The 3D Viewer for Nextcloud is a comprehensive 3D model viewer application for Nextcloud that supports multiple 3D file formats. vulnerability
- CVE-2026-104381 A missing authentication vulnerability in Fireware OS's FireCluster state synchronization feature allows an unauthenticated attacker… vulnerability
- CVE-2026-106087 TRO600 contains an arbitrary file read vulnerability. vulnerability
- CVE-2026-116604 A vulnerability has been found in SourceCodester Online Food Ordering System 1.0. vulnerability
- CVE-2026-116817 OpenPanel before 3.0.0 contains a missing authentication vulnerability that allows unauthenticated attackers to access the Bull Board… vulnerability
- CVE-2026-18450 The BMC does not correctly enforce integrity and encryption requirements for IPMI commands. vulnerability
- CVE-2026-65145 NVIDIA NeMo Agent Toolkit contains a vulnerability where a attacker could cause a missing authentication issue. vulnerability
- CVE-2026-82116 Missing Authentication for Critical Function Vulnerability in HiRDB. vulnerability
- CVE-2026-90465 A missing authentication vulnerability in the FireCluster Sync processing allows an attacker positioned on the cluster interconnect, such… vulnerability
- CVE-2026-93865 A missing authentication vulnerability in the Fireware OS FireCluster synchronization daemon allows a remote, unauthenticated attacker to… vulnerability
- CVE-2026-102649 Burrito is a Terraform Automation Collaboration Software (TACoS) Kubernetes operator. vulnerability
- CVE-2026-116110 A vulnerability was found in GiantappMan LiveWallPaper 2.6.8.0 on Windows. vulnerability
- CVE-2026-116228 A vulnerability was found in 777genius agent-teams-ai up to 2.17.10. vulnerability
- CVE-2026-116257 A vulnerability was determined in BillaBear up to 2025.01.03. vulnerability
- CVE-2026-116485 danmu_api before 1.21.7 contains an authentication bypass vulnerability that allows unauthenticated attackers to modify server environment… vulnerability
- CVE-2026-116634 OmniRoute 3.8.50 before 3.8.52 contains a missing authentication vulnerability that allows unauthenticated attackers to issue sync tokens… vulnerability
- CVE-2026-77052 boneIO Black exposes a Node-RED instance without authentication at the /nodered/ path through a Caddy reverse proxy. vulnerability
- CVE-2026-77053 boneIO Black firmware ships with authentication disabled by default. vulnerability
- CVE-2026-77061 boneIO Black directly excludes several API endpoints from the authentication. vulnerability
- CVE-2026-116070 Docker-Proxy through 5.1.9 contains a missing authentication vulnerability in the hubcmdui routes/config.js that allows unauthenticated… vulnerability
- CVE-2025-30043 CGM CLININET is vulnerable to Missing Authentication for Critical Function in the /DocManagment path. vulnerability
Referenced by CWE · child of (2)
Referenced by CWE · has member (8)
- CWE-1337 Weaknesses in the 2021 CWE Top 25 Most Dangerous Software Weaknesses view
- CWE-1350 Weaknesses in the 2020 CWE Top 25 Most Dangerous Software Weaknesses view
- CWE-1387 Weaknesses in the 2022 CWE Top 25 Most Dangerous Software Weaknesses view
- CWE-1425 Weaknesses in the 2023 CWE Top 25 Most Dangerous Software Weaknesses view
- CWE-1430 Weaknesses in the 2024 CWE Top 25 Most Dangerous Software Weaknesses view
- CWE-1435 Weaknesses in the 2025 CWE Top 25 Most Dangerous Software Weaknesses view
- CWE-1468 Weaknesses Addressed by the OWASP Golang Secure Coding Practices Guide view
- CWE-884 CWE Cross-section view
Referenced by OWASP · mapped cwe (3)
- A07:2025 Authentication Failures Top 10 2025
- A07:2021 Identification and Authentication Failures Top 10 2021
- CS-Drone_Security Drone Security Cheat Sheet Cheat Sheet