CWE-612: Improper Authorization of Index Containing Sensitive Information
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product creates a search index of private or sensitive documents, but it does not properly limit index access to actors who are authorized to see the original information.
扩展描述
Web sites and other document repositories may apply an indexing routine against a group of private documents to facilitate search. If the index's results are available to parties who do not have access to the documents being indexed, then attackers could obtain portions of the documents by conducting targeted searches and reading the results. The risk is especially dangerous if search results include surrounding text that was not part of the search query. This issue can appear in search engines that are not configured (or implemented) to ignore critical files that should remain hidden; even without permissions to download these files directly, the remote user could read them.
常见后果
影响范围: Confidentiality
技术影响: Read Application Data
观察示例
参考: CVE-2022-41918
A search application's access control rules are not properly applied to indices for data streams, allowing for the viewing of sensitive information.
引入模式
| 阶段 | 说明 |
|---|---|
| Architecture and Design | - |
| Implementation | - |
适用平台
编程语言
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| WASC | 48 | Insecure Indexing | - |