WPSE: Fortifying Web Protocols via Browser-Side Security Monitoring

06/24/2018
by   Stefano Calzavara, et al.
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 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 by custom implementations deviating from the OAuth 2.0 specification, one of which introducing a critical vulnerability.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/12/2020

Securing Password Authentication for Web-based Applications

The use of passwords and the need to protect passwords are not going awa...
research
09/07/2021

Implementing Security Protocol Monitors

Cryptographic protocols are often specified by narrations, i.e., finite ...
research
09/14/2023

The Nonce-nce of Web Security: an Investigation of CSP Nonces Reuse

Content Security Policy (CSP) is an effective security mechanism that pr...
research
01/24/2018

Mitigating CSRF attacks on OAuth 2.0 and OpenID Connect

Many millions of users routinely use their Google, Facebook and Microsof...
research
04/13/2021

Practical Pitfalls for Security in OPC UA

In 2006, the OPC Foundation released the first specification for OPC Uni...
research
07/01/2020

Dispelling Myths on Superposition Attacks: Formal Security Model and Attack Analyses

It is of folkloric belief that the security of classical cryptographic p...
research
11/04/2018

Web Security Investigation through Penetration Tests: A Case study of an Educational Institution Portal

Web security has become an important subject; many companies and organiz...

Please sign up or login with your details

Forgot password? Click here to reset