CAPEC 详情
名称 Explore for Predictable Temporary File Names
攻击可能性 典型严重性
Medium Medium
摘要 An attacker explores a target to identify the names and locations of predictable temporary files for the purpose of launching further attacks against the target. This involves analyzing naming conventions and storage locations of the temporary files created by a target application. If an attacker can predict the names of temporary files they can use this information to mount other attacks, such as information gathering and symlink attacks.
前置条件 The targeted application must create names for temporary files using a predictable procedure, e.g. using sequentially increasing numbers. The attacker must be able to see the names of the files the target is creating.
解决方案
关联弱点
CWE 编号 描述
CWE-377 Insecure Temporary File
关联 CAPEC
CAPEC 编号 描述
CAPEC-155 An adversary exploits the temporary, insecure storage of information by monitoring the content of files used to store temp data during an application's routine execution flow. Many applications use temporary files to accelerate processing or to provide records of state across multiple executions of the application. Sometimes, however, these temporary files may end up storing sensitive information. By screening an application's temporary files, an adversary might be able to discover such sensitive information. For example, web browsers often cache content to accelerate subsequent lookups. If the content contains sensitive information then the adversary could recover this from the web cache.
CAPEC-497 An adversary engages in probing and exploration activities to determine if common key files exists. Such files often contain configuration and security parameters of the targeted application, system or network. Using this knowledge may often pave the way for more damaging attacks.