首页> 外文会议>International Conference on computer science education >Improved CSRFGuard for CSRF attacks defense on Java EE platform
【24h】

Improved CSRFGuard for CSRF attacks defense on Java EE platform

机译:针对Java EE平台上CSRF攻击防御的改进CSRFGuard

获取原文

摘要

CSRFGuard is a tool running on the Java EE platform to defend Cross-Site Request Forgery (CSRF) attacks, but there are some shortcomings: scripts should be inserted manually, dynamically created requests cannot be effectively handled as well as defense can be bypassed through Cross-Site Scripting (XSS). Corresponding improvements were made according to the shortcomings. The Servlet filter was used to intercept responses, and responses of pages' source codes were stored by a custom response wrapper class to add script tags, so that scripts were automatically inserted. JavaScript event delegation mechanism was used to bind forms with onfocus and onsubmit events, then dynamically created requests were effectively handled. Token dynamically added through event triggered effectively prevented defense bypassed through XSS. The experimental results show that improved CSRFGuard can be effective to defend CSRF attacks.
机译:CSRFGuard是运行在Java EE平台上的工具,用于防御跨站点请求伪造(CSRF)攻击,但是存在一些缺点:应该手动插入脚本,不能有效处理动态创建的请求,并且可以通过Cross绕过防御-网站脚本(XSS)。根据缺点进行了相应的改进。 Servlet过滤器用于拦截响应,页面源代码的响应由自定义响应包装器类存储以添加脚本标签,以便自动插入脚本。使用JavaScript事件委托机制将表单与onfocus和onsubmit事件绑定,然后有效地处理了动态创建的请求。通过事件触发动态添加的令牌有效地防止了通过XSS绕过防御。实验结果表明,改进的CSRFGuard可以有效地防御CSRF攻击。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号