Modern web applications often rely on third-party services to provide their functionality to users. The secure integration of these services is a non-trivial task, as shown by the large number of attacks against Single Sign On and Cashier-as-a-Service protocols. In this paper we present Bulwark, a new automatic tool which generates formally verified security monitors from applied pi-calculus specifications of web protocols. The security monitors generated by Bulwark offer holistic protection, since they can be readily deployed both at the client side and at the server side, thus ensuring full visibility of the attack surface against web protocols. We evaluate the effectiveness of Bulwark by testing it against a pool of vulnerable web applications that use the OAuth 2.0 protocol or integrate the PayPal payment system.
翻译:现代网络应用程序往往依靠第三方服务来向用户提供功能。这些服务的安全整合是一项非三重任务,如对单一信号和出纳服务协议的大量攻击所显示的那样。在本文件中,我们介绍了Bulwark,这是一个新的自动工具,根据应用的网络协议的微量分量规格生成正式核查的安全监视器。Bulwark产生的安全监视器提供整体保护,因为这些监视器可以随时部署在客户一方和服务器一方,从而确保攻击地面完全可见网络协议。我们通过对使用OAuth 2.0协议或整合PayPal付款系统的脆弱网络应用库进行测试,评估Bulwark的有效性。