Large-Scale Analysis & Detection of Authentication Cross-Site Request Forgeries
Authors:
- Avinash SudhodananASAvinash Sudhodanan
- Roberto CarboneRCRoberto Carbone
- Luca CompagnaLCLuca Compagna
- Nicolas DolginNDNicolas Dolgin
- Alessandro ArmandoAAAlessandro Armando
- Umberto MorelliUMUmberto Morelli
- 1 April 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 350-365
Abstract
Cross-Site Request Forgery (CSRF) attacks are one of the critical threats to web applications. In this paper, we focus on CSRF attacks targeting web sites' authentication and identity management functionalities. We will refer to them collectively as Authentication CSRF (Auth-CSRF in short). We started by collecting several Auth-CSRF attacks reported in the literature, then analyzed their underlying strategies and identified 7 security testing strategies that can help a manual tester uncover vulnerabilities enabling Auth-CSRF. In order to check the effectiveness of our testing strategies and to estimate the incidence of Auth-CSRF, we conducted an experimental analysis considering 300 web sites belonging to 3 different rank ranges of the Alexa global top 1500. The results of our experiments are alarming: out of the 300 web sites we considered, 133 qualified for conducting our experiments and 90 of these suffered from at least one vulnerability enabling Auth-CSRF (i.e. 68%). We further generalized our testing strategies, enhanced them with the knowledge we acquired during our experiments and implemented them as an extension (namely CSRF-checker) to the open-source penetration testing tool OWASP ZAP. With the help of CSRFchecker, we tested 132 additional web sites (again from the Alexa global top 1500) and identified 95 vulnerable ones (i.e. 72%). Our findings include serious vulnerabilities among the web sites of Microsoft, Google, eBay etc. Finally, we responsibly disclosed our findings to the affected vendors.Keywords
This publication has 11 references indexed in Scilit:
- Attack Patterns for Black-Box Security Testing of Multi-Party Web Applications2016
- Triple Handshakes and Cookie Cutters: Breaking and Fixing Authentication over TLS2014
- Toward Black-Box Detection of Logic Flaws in Web Applications2014
- Large-Scale Security Analysis of the Web: Challenges and Findings2014
- Lightweight server support for browser-based CSRF protection2013
- Discovering Concrete Attacks on Website Authorization by Formal Analysis2012
- How to Shop for Free Online -- Security Analysis of Cashier-as-a-Service Based Web Stores2011
- Client-Side Detection of Cross-Site Request Forgery Attacks2010
- Robust defenses for cross-site request forgery2008
- Preventing Cross Site Request Forgery Attacks2006