Lune

USENIX Security2017顶会

CCSP: Controlled Relaxation of Content Security Policies by Runtime Policy Composition

Stefano Calzavara, Alvise Rabitti, Michele Bugliesi

摘要

Content Security Policy (CSP) is a W3C standard designed to prevent and mitigate the impact of content injection vulnerabilities on websites by means of browserenforced security policies. Though CSP is gaining a lot of popularity in the wild, previous research questioned one of its key design choices, namely the use of static white-lists to define legitimate content inclusions. In this paper we present Compositional CSP (CCSP), an extension of CSP based on runtime policy composition. CCSP is designed to overcome the limitations arising from the use of static white-lists, while avoiding a major overhaul of CSP and the logic underlying policy writing. We perform an extensive evaluation of the design of CCSP by focusing on the general security guarantees it provides, its backward compatibility and its deployment cost. We then assess the potential impact of CCSP on the web and we implement a prototype of our proposal, which we test on major websites. In the end, we conclude that the deployment of CCSP can be done with limited efforts and would lead to significant benefits for the large majority of the websites.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Don't Trust The Locals: Investigating the Prevalence of Persistent Client-Side Cross-Site Scripting in the Wild 引用了 CSPAutoGen: Black-box Enforcement of Content Security Policy upon Real-world Websites
  • Don't Trust The Locals: Investigating the Prevalence of Persistent Client-Side Cross-Site Scripting in the Wild 引用了 Content Security Problems?: Evaluating the Effectiveness of Content Security Policy in the Wild
  • Don't Trust The Locals: Investigating the Prevalence of Persistent Client-Side Cross-Site Scripting in the Wild 引用了 CSP Is Dead, Long Live CSP! On the Insecurity of Whitelists and the Future of Content Security Policy
  • MatriXSSed: A New Taxonomy for XSS in the Modern Web 引用了 Don't Trust The Locals: Investigating the Prevalence of Persistent Client-Side Cross-Site Scripting in the Wild
  • MatriXSSed: A New Taxonomy for XSS in the Modern Web 引用了 DiffCSP: Finding Browser Bugs in Content Security Policy Enforcement through Differential Testing
  • MatriXSSed: A New Taxonomy for XSS in the Modern Web 引用了 Complex Security Policy? A Longitudinal Analysis of Deployed Content Security Policies
  • MatriXSSed: A New Taxonomy for XSS in the Modern Web 引用了 CSP Is Dead, Long Live CSP! On the Insecurity of Whitelists and the Future of Content Security Policy
  • DiffCSP: Finding Browser Bugs in Content Security Policy Enforcement through Differential Testing 引用了 CSPAutoGen: Black-box Enforcement of Content Security Policy upon Real-world Websites
  • DiffCSP: Finding Browser Bugs in Content Security Policy Enforcement through Differential Testing 引用了 Content Security Problems?: Evaluating the Effectiveness of Content Security Policy in the Wild
  • DiffCSP: Finding Browser Bugs in Content Security Policy Enforcement through Differential Testing 引用了 Complex Security Policy? A Longitudinal Analysis of Deployed Content Security Policies
  • DiffCSP: Finding Browser Bugs in Content Security Policy Enforcement through Differential Testing 引用了 CSP Is Dead, Long Live CSP! On the Insecurity of Whitelists and the Future of Content Security Policy
  • Complex Security Policy? A Longitudinal Analysis of Deployed Content Security Policies 引用了 CSPAutoGen: Black-box Enforcement of Content Security Policy upon Real-world Websites
  • Complex Security Policy? A Longitudinal Analysis of Deployed Content Security Policies 引用了 Content Security Problems?: Evaluating the Effectiveness of Content Security Policy in the Wild
  • Complex Security Policy? A Longitudinal Analysis of Deployed Content Security Policies 引用了 CSP Is Dead, Long Live CSP! On the Insecurity of Whitelists and the Future of Content Security Policy
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Don't Trust The Locals: Investigating the Prevalence of Persistent Client-Side Cross-Site Scripting in the WildMarius Steffens, Christian Rossow, Martin Johns, Ben StockNDSS 2019 · 84 次引用
  2. Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based PoliciesPeiran Wang, Qiyu Li, Longxuan Yu, Ziyao Wang 等CCS 2024 · 2 次引用
  3. MatriXSSed: A New Taxonomy for XSS in the Modern WebDolière Francis SoméWWW 2025 · 2 次引用
  4. DiffCSP: Finding Browser Bugs in Content Security Policy Enforcement through Differential TestingSeongil Wi, Trung Tin Nguyen, Jihwan Kim, Ben Stock 等NDSS 2023
  5. Complex Security Policy? A Longitudinal Analysis of Deployed Content Security PoliciesSebastian Roth, Timothy Barron, Stefano Calzavara, Nick Nikiforakis 等NDSS 2020

它引用的 Paper3

  1. CSP Is Dead, Long Live CSP! On the Insecurity of Whitelists and the Future of Content Security PolicyLukas Weichselbaum, Michele Spagnuolo, Sebastian Lekies, Artur JancCCS 2016 · 114 次引用
  2. Content Security Problems?: Evaluating the Effectiveness of Content Security Policy in the WildStefano Calzavara, Alvise Rabitti, Michele BugliesiCCS 2016 · 71 次引用
  3. CSPAutoGen: Black-box Enforcement of Content Security Policy upon Real-world WebsitesXiang Pan, Yinzhi Cao, Shuangping Liu, Yu Zhou 等CCS 2016 · 55 次引用

相关 Paper

  1. Analyzing the Feasibility of Adopting Google's Nonce-Based CSP Solutions on WebsitesMengxia Ren, Anhao Xiang, Chuan YueICSE 2025 · 1 次引用
  2. 12 Angry Developers - A Qualitative Study on Developers' Struggles with CSPSebastian Roth, Lea Gröber, Michael Backes, Katharina Krombholz 等CCS 2021 · 22 次引用
  3. Fine-Grained Data-Centric Content Protection Policy for Web ApplicationsZilun Wang, Wei Meng, Michael R. LyuCCS 2023 · 2 次引用
  4. AutoNav: Evaluation and Automatization of Web Navigation PoliciesBenjamin Eriksson, Andrei SabelfeldWWW 2020 · 7 次引用
  5. A Tale of Two Headers: A Formal Analysis of Inconsistent Click-Jacking Protection on the WebStefano Calzavara, Sebastian Roth, Alvise Rabitti, Michael Backes 等USENIX Security 2020
黄昏的海面,两侧是细线勾勒的悬崖