DocumentCode :
3075571
Title :
Client-Side Detection of Cross-Site Request Forgery Attacks
Author :
Shahriar, Hossain ; Zulkernine, Mohammad
Author_Institution :
Sch. of Comput., Queen´´s Univ., Kingston, ON, Canada
fYear :
2010
fDate :
1-4 Nov. 2010
Firstpage :
358
Lastpage :
367
Abstract :
Cross Site Request Forgery (CSRF) allows an attacker to perform unauthorized activities without the knowledge of a user. An attack request takes advantage of the fact that a browser appends valid session information for each request. As a result, a browser is the first place to look for attack symptoms and take appropriate actions. Current browser-based detection methods are based on cross-origin policies that allow white listed third party websites to perform requests to a trusted website. These approaches are not effective if policies are specified incorrectly. Moreover, these approaches do not focus on the detection of stored CSRF attacks where attack payloads reside in trusted web pages. To alleviate these limitations, we present a CSRF attack detection mechanism for the client side. Our approach relies on the matching of parameters and values present in a suspected request with a form´s input fields and values that are being displayed on a webpage (visibility). To overcome an attacker´s attempt to circumvent form visibility checking, we compare the response content type of a suspected request with the expected content type. We have implemented a prototype plug-in tool for the Firefox browser and evaluated our approach on three real PHP programs vulnerable to CSRF attacks. We have also developed a benchmark test suite containing 134 test cases for emulating CSRF attack requests for the three programs. The evaluation results indicate that our approach can detect most of the common form of reflected and stored CSRF attacks. Moreover, our approach can stop attack requests that include subsets of visible form fields and values.
Keywords :
Internet; security of data; CSRF; attack detection mechanism; attack symptoms; browser based detection methods; client side detection; cross origin policies; cross site request forgery attacks; websites; Browsers; Electronic mail; Forgery; HTML; Payloads; Servers; Web pages; Browser security; client-side attack detection; cross-site request forgery; cross-site scripting;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Reliability Engineering (ISSRE), 2010 IEEE 21st International Symposium on
Conference_Location :
San Jose, CA
ISSN :
1071-9458
Print_ISBN :
978-1-4244-9056-1
Electronic_ISBN :
1071-9458
Type :
conf
DOI :
10.1109/ISSRE.2010.12
Filename :
5635070
Link To Document :
بازگشت