首页    期刊浏览 2024年11月13日 星期三
登录注册

文章基本信息

  • 标题:Preventing script injection vulnerabilities through software design
  • 本地全文:下载
  • 作者:Christoph Kern ; Google
  • 期刊名称:ACM Queue (Online): tomorrow's computing today
  • 电子版ISSN:1542-7749
  • 出版年度:2014
  • 卷号:12
  • 期号:7
  • 语种:English
  • 出版社:Association for Computing Machinery
  • 摘要:Christoph Kern, Google Script injection vulnerabilities are a bane of Web application development: deceptively simple in cause and remedy, they are nevertheless surprisingly difficult to prevent in large-scale Web development. XSS (cross-site scripting)2,7,8 arises when insufficient data validation, sanitization, or escaping within a Web application allow an attacker to cause browser-side execution of malicious JavaScript in the application's context. This injected code can then do whatever the attacker wants, using the privileges of the victim. Exploitation of XSS bugs results in complete (though not necessarily persistent) compromise of the victim's session with the vulnerable application. This article provides an overview of how XSS vulnerabilities arise and why it is so difficult to avoid them in real-world Web application software development. The article then describes software design patterns developed at Google to address the problem. A key goal of these design patterns is to confine the potential for XSS bugs to a small fraction of an application's code base, significantly improving one's ability to reason about the absence of this class of security bugs. In several software projects within Google, this approach has resulted in a substantial reduction in the incidence of XSS vulnerabilities.
国家哲学社会科学文献中心版权所有