CWE-912: Hidden Functionality
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product contains functionality that is not documented, not part of the specification, and not accessible through an interface or command sequence that is obvious to the product's users or administrators.
扩展描述
Hidden functionality can take many forms, such as intentionally malicious code, "Easter Eggs" that contain extraneous functionality such as games, developer-friendly shortcuts that reduce maintenance or support costs such as hard-coded accounts, etc. From a security perspective, even when the functionality is not intentionally malicious or damaging, it can increase the product's attack surface and expose additional weaknesses beyond what is already exposed by the intended functionality. Even if it is not easily accessible, the hidden functionality could be useful for attacks that modify the control flow of the application.
常见后果
影响范围: Other Integrity
技术影响: Varies by Context Alter Execution Logic
潜在缓解措施
阶段: Installation
描述: Always verify the integrity of the product that is being installed.
阶段: Testing
描述: Conduct a code coverage analysis using live testing, then closely inspect any code that is not covered.
观察示例
参考: 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-3203
A wireless access point manual specifies that the only method of configuration is via web interface (CWE-1059), but there is an undisclosed telnet server that was activated by default (CWE-912).
引入模式
| 阶段 | 说明 |
|---|---|
| Architecture and Design | - |
| Implementation | - |