arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1806.09111cs.CR
收藏

WPSE:通过浏览器端安全监控强化Web协议

WPSE: Fortifying Web Protocols via Browser-Side Security Monitoring

Stefano Calzavara, Riccardo Focardi, Matteo Maffei, Clara Schneidewind, Marco Squarcina, Mauro Tempesta

摘要:

我们提出了WPSE,浏览器端的Web协议的安全监视器,旨在确保符合预期的协议流,以及消息的机密性和完整性。我们正式证明,WPSE是足够的表达,以保护Web应用程序从广泛的协议实现错误和Web攻击。我们讨论了具体的攻击,可以防止WPSE OAuth 2.0和SAML 2.0,包括一个新的攻击谷歌实现的SAML 2.0,我们发现通过形式化的协议规范WPSE。此外,我们使用WPSE在野外对OAuth 2.0进行了广泛的实验评估。在90个测试网站中,我们发现了55个网站(61.1%)的安全漏洞,包括Facebook Pixel等跟踪库引入的新的关键漏洞,所有这些漏洞都可以通过WPSE修复。最后,我们发现WPSE在83个网站(92.2%)上可以正常工作,其中7个兼容性问题是由偏离OAuth 2.0规范的自定义实现引起的,其中一个引入了严重漏洞。

英文摘要:

We present WPSE, a browser-side security monitor for web protocols designed to ensure compliance with the intended protocol flow, as well as confidentiality and integrity properties of messages. We formally prove that WPSE is expressive enough to protect web applications from a wide range of protocol implementation bugs and web attacks. We discuss concrete examples of attacks which can be prevented by WPSE on OAuth 2.0 and SAML 2.0, including a novel attack on the Google implementation of SAML 2.0 which we discovered by formalizing the protocol specification in WPSE. Moreover, we use WPSE to carry out an extensive experimental evaluation of OAuth 2.0 in the wild. Out of 90 tested websites, we identify security flaws in 55 websites (61.1%), including new critical vulnerabilities introduced by tracking libraries such as Facebook Pixel, all of which fixable by WPSE. Finally, we show that WPSE works flawlessly on 83 websites (92.2%), with the 7 compatibility issues being caused by custom implementations deviating from the OAuth 2.0 specification, one of which introducing a critical vulnerability.

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

↑