Skip to Main content Skip to Navigation
Journal articles

Discovering concrete attacks on website authorization by formal analysis

Abstract : Social sign-on and social sharing are becoming an ever more popular feature of web applications. This success is largely due to the APIs and support offered by prominent social networks, such as Facebook, Twitter and Google, on the basis of new open standards such as the OAuth 2.0 authorization protocol. A formal analysis of these protocols must account for malicious websites and common web application vulnerabilities, such as cross-site request forgery and open redirectors. We model several configurations of the OAuth 2.0 protocol in the applied pi-calculus and verify them using ProVerif. Our models rely on WebSpi, a new library for modeling web applications and web-based attackers that is designed to help discover concrete attacks on websites. To ease the task of writing formal models in our framework, we present a model extraction tool that automatically translates programs written in subsets of PHP and JavaScript to the applied pi-calculus. Our approach is validated by finding dozens of previously unknown vulnerabilities in popular websites such as Yahoo and WordPress, when they connect to social networks such as Twitter and Facebook.
Document type :
Journal articles
Complete list of metadata

Cited literature [53 references]  Display  Hide  Download
Contributor : Bruno Blanchet Connect in order to contact the contributor
Submitted on : Friday, April 15, 2016 - 4:38:49 AM
Last modification on : Wednesday, April 6, 2022 - 3:48:14 PM
Long-term archiving on: : Saturday, July 16, 2016 - 10:49:08 AM


Files produced by the author(s)




Chetan Bansal, Karthikeyan Bhargavan, Antoine Delignat-Lavaud, Sergio Maffeis. Discovering concrete attacks on website authorization by formal analysis. Journal of Computer Security, IOS Press, 2014, 22 (4), pp.601-657. ⟨10.3233/JCS-140503⟩. ⟨hal-01102202⟩



Record views


Files downloads