Fixing Races For Fun And Profit: How To Use Access(2)

D Dean, Aj Hu

USENIX Security Symposium(2004)

引用 27|浏览1
暂无评分
摘要
It is well known that it is insecure to use the access(2) system call in a setuid program to test for the ability of the program's executor to access a file before opening said file. Although the access(2) call appears to have been designed exactly for this use, such use is vulnerable to a race condition. This race condition is a classic example of a time-of-check-to-time-of-use (TOCTTOU) problem. We prove the "folk theorem' that no portable, deterministic solution exists without changes to the system call interface, we present a probabilistic solution, and we examine the effect of increasing CPU speeds on the exploitability of the attack.
更多
查看译文
关键词
race condition,system call,system call interface,deterministic solution,probabilistic solution,setuid program,CPU speed,classic example,folk theorem
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要