arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.00398cs.CRcs.SE
收藏

CorbFuzz:使用Fuzzing检查浏览器安全策略

CorbFuzz: Checking Browser Security Policies with Fuzzing

Chaofan Shou, Ismet Burak Kadron, Qi Su, Tevfik Bultan

摘要:

浏览器使用安全策略来阻止恶意行为。跨源读取阻止(CORB)是一种浏览器安全策略,用于防止侧信道攻击,如Spectre。我们提出了一个Web浏览器安全策略模糊称为CorbFuzz检查CORB和类似的政策。在实现安全策略时,浏览器只能访问HTTP请求和响应,并仅基于这些交互采取策略操作。在检查浏览器安全策略时,CorbFuzz使用一个策略oracle来跟踪Web应用程序的行为,并根据Web应用程序的状态推断出所需的策略操作。通过比较策略oracle与浏览器行为,CorbFuzz可以检测浏览器安全策略中的漏洞。CorbFuzz通过模糊一组Web应用程序来检查Web浏览器策略,其中状态相关查询被象征性地评估以增加覆盖率和自动化。CorbFuzz从数据库查询和分支条件中收集类型信息,以防止在模糊化过程中生成不一致的数据值。我们使用从GitHub收集的Web应用程序,在Chromium和Webkit的CORB实现上评估了CorbFuzz,以及Firefox的不透明响应阻止(ORB)策略实现。我们在Chromium的CORB实现中发现了三类弱点。

英文摘要:

Browsers use security policies to block malicious behaviors. Cross-Origin Read Blocking (CORB) is a browser security policy for preventing side-channel attacks such as Spectre. We propose a web browser security policy fuzzer called CorbFuzz for checking CORB and similar policies. In implementing a security policy, the browser only has access to HTTP requests and responses, and takes policy actions based solely on those interactions. In checking the browser security policies, CorbFuzz uses a policy oracle that tracks the web application behavior and infers the desired policy action based on the web application state. By comparing the policy oracle with the browser behavior, CorbFuzz detects weaknesses in browser security policies. CorbFuzz checks the web browser policy by fuzzing a set of web applications where the state-related queries are symbolically evaluated for increased coverage and automation. CorbFuzz collects type information from database queries and branch conditions in order to prevent the generation of inconsistent data values during fuzzing. We evaluated CorbFuzz on CORB implementations of Chromium and Webkit, and Opaque Response Blocking (ORB) policy implementation of Firefox using web applications collected from GitHub. We found three classes of weaknesses in Chromium's implementation of CORB.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑