CWE-287: Improper Authentication
low-riskWhen an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Common Consequences
Detection Methods
Automated static analysis is useful for detecting certain types of 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.
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. Manual static analysis is useful for evaluating the correctness of custom authentication mechanisms.
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
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
According to SOAR [REF-1479], the following detection techniques may be useful: Cost effective for partial coverage: Fuzz Tester Framework-based Fuzzer
According to SOAR [REF-1479], the following detection techniques may be useful: Cost effective for partial coverage: Manual Source Code Review (not inspections)
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
According to SOAR [REF-1479], the following detection techniques may be useful: Cost effective for partial coverage: Configuration Checker
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
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2023-35078 | 9.8 | 94.5% | Y |
| CVE-2023-35078 | 9.8 | 94.5% | Y |
| CVE-2024-7593 | 9.8 | 94.4% | Y |
| CVE-2024-7593 | 9.8 | 94.4% | Y |
| CVE-2022-40684 | 9.8 | 94.4% | Y |
| CVE-2022-40684 | 9.8 | 94.4% | Y |
| CVE-2023-35082 | 9.8 | 94.4% | Y |
| CVE-2020-0688 | 8.8 | 94.4% | Y |
| CVE-2020-0688 | 8.8 | 94.4% | Y |
| CVE-2023-46805 | 8.2 | 94.4% | Y |