Weakness · High
CWE-306: Missing Authentication for Critical Function
What it is
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
- Severity (our rating)
- High
- Likelihood of exploit
- High
- Introduced during
- Architecture and Design, Operation
- Exploited in the wild
- 42 known exploited CVEs
What an attacker can do
- Gain Privileges or Assume Identity (Access Control, Other)
- Varies by Context (Access Control, Other)
How to prevent it
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.
- 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.
- 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.
- 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.
Implementation
- 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.
How to find it
- 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, 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, 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, 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, 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, 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, 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
Exploited in the wild: 42 CVEs
Vulnerabilities caused by CWE-306 that attackers have used, from CISA's Known Exploited Vulnerabilities catalog, newest first.
- CVE-2026-67277MikroTik RouterOS Missing Authentication for Critical Function Vulnerability · added September 10, 2026
- CVE-2026-59822BerriAI LiteLLM Improper Authentication Vulnerability · added September 2, 2026
- CVE-2026-81578PaperCut NG/MF Missing Authentication for Critical Function Vulnerability · added August 31, 2026
- CVE-2026-72529TrueConf Server Missing Authentication for Critical Function Vulnerability · added August 20, 2026
- CVE-2026-46817Oracle E-Business Suite Improper Privilege Management Vulnerability · added July 15, 2026
- CVE-2026-56164Microsoft SharePoint Server Missing Authentication for Critical Function Vulnerability · added July 14, 2026
- CVE-2026-20253Splunk Enterprise Missing Authentication for Critical Function Vulnerability · added June 18, 2026
- CVE-2026-35273 ransomwareOracle PeopleSoft Enterprise PeopleTools Missing Authentication for Critical Function Vulnerability · added June 12, 2026
- CVE-2026-41940 ransomwareWebPros cPanel & WHM and WP2 (WordPress Squared) Missing Authentication for Critical Function Vulnerability · added April 30, 2026
- CVE-2026-39987Marimo Remote Code Execution Vulnerability · added April 23, 2026
- CVE-2026-33017Langflow Code Injection Vulnerability · added March 25, 2026
- CVE-2026-24423 ransomwareSmarterTools SmarterMail Missing Authentication for Critical Function Vulnerability · added February 5, 2026
- CVE-2025-61757Oracle Fusion Middleware Missing Authentication for Critical Function Vulnerability · added November 21, 2025
- CVE-2025-4008Smartbedded Meteobridge Command Injection Vulnerability · added October 2, 2025
- CVE-2020-24363TP-link TL-WA855RE Missing Authentication for Critical Function Vulnerability · added September 2, 2025
- CVE-2025-32433Erlang Erlang/OTP SSH Server Missing Authentication for Critical Function Vulnerability · added June 9, 2025
- CVE-2025-3248 ransomwareLangflow Missing Authentication Vulnerability · added May 5, 2025
- CVE-2025-0108Palo Alto Networks PAN-OS Authentication Bypass Vulnerability · added February 18, 2025
- CVE-2022-23227NUUO NVRmini2 Devices Missing Authentication Vulnerability · added December 18, 2024
- CVE-2023-28461 ransomwareArray Networks AG and vxAG ArrayOS Missing Authentication for Critical Function Vulnerability · added November 25, 2024
- CVE-2024-0012 ransomwarePalo Alto Networks PAN-OS Management Interface Authentication Bypass Vulnerability · added November 18, 2024
- CVE-2024-5910Palo Alto Networks Expedition Missing Authentication Vulnerability · added November 7, 2024
- CVE-2024-47575Fortinet FortiManager Missing Authentication Vulnerability · added October 23, 2024
- CVE-2023-36851Juniper Junos OS SRX Series Missing Authentication for Critical Function Vulnerability · added November 13, 2023
- CVE-2023-36847Juniper Junos OS EX Series Missing Authentication for Critical Function Vulnerability · added November 13, 2023
- CVE-2023-36846Juniper Junos OS SRX Series Missing Authentication for Critical Function Vulnerability · added November 13, 2023
- CVE-2023-27532 ransomwareVeeam Backup & Replication Cloud Connect Missing Authentication for Critical Function Vulnerability · added August 22, 2023
- CVE-2022-24990 ransomwareTerraMaster OS Remote Command Execution Vulnerability · added February 10, 2023
- CVE-2022-21587 ransomwareOracle E-Business Suite Unspecified Vulnerability · added February 2, 2023
- CVE-2022-26501 ransomwareVeeam Backup & Replication Remote Code Execution Vulnerability · added December 13, 2022
- CVE-2022-26925Microsoft Windows LSA Spoofing Vulnerability · added July 1, 2022
- CVE-2022-1388 ransomwareF5 BIG-IP Missing Authentication Vulnerability · added May 10, 2022
- CVE-2022-26143MiCollab, MiVoice Business Express Access Control Vulnerability · added March 25, 2022
- CVE-2020-13927Apache Airflow's Experimental API Authentication Bypass · added January 18, 2022
- CVE-2021-44077Zoho ManageEngine ServiceDesk Plus Remote Code Execution Vulnerability · added December 1, 2021
- CVE-2021-37415Zoho ManageEngine ServiceDesk Authentication Bypass Vulnerability · added December 1, 2021
- CVE-2021-20021 ransomwareSonicWall Email Security Improper Privilege Management Vulnerability · added November 3, 2021
- CVE-2020-6287SAP NetWeaver Missing Authentication for Critical Function Vulnerability · added November 3, 2021
- CVE-2020-6207SAP Solution Manager Missing Authentication for Critical Function Vulnerability · added November 3, 2021
- CVE-2020-3952VMware vCenter Server Information Disclosure Vulnerability · added November 3, 2021
- CVE-2019-9082ThinkPHP Remote Code Execution Vulnerability · added November 3, 2021
- CVE-2019-5591 ransomwareFortinet FortiOS Default Configuration Vulnerability · added November 3, 2021
H2 Security
Found it in your code?
We review where it appears, fix it with your team, and check it was not already used against you.
Talk to our teamT Academy
Stop writing it in the first place
Learn to build software and systems without weaknesses like this one, with practice on real hosts in your browser, every objective checked on the machine.
Start freeSource: MITRE Common Weakness Enumeration, CWE version 4.19.1. CWE is a trademark of The MITRE Corporation.