Title of article :
Automatic Black-Box Detection of Resistance Against CSRF Vulnerabilities in Web Applications
Author/Authors :
Hadavi ، Mohammad Ali Faculty of Electrical and Computer Engineering - Malek Ashtar University of Technology , Sadeghi ، Samira Faculty of Electrical and Computer Engineering - Malek Ashtar University of Technology
From page :
19
To page :
32
Abstract :
Cross-Site Request Forgery (CSRF) is an attack in which an infected website causes a victim’s browser to perform an unwanted operation on a trusted website. The main solution to tackle this attack is to use random tokens in requests, sent by the browser. Since such tokens cannot be guessed or rebuilt by the attacker, he is not able to forge the requests. The tokens can be specific to a request, a page, or a session. Existing methods for detecting CSRF vulnerabilities mainly rely on simulating an attack by manipulating a request, submitting it to the server, and analysis of the response to the forged request. This kind of test must be repeated for each request in a web application to identify whether the application is vulnerable. Moreover, it may lead to undesired changes to the application database by submitting fake requests.   This paper presents a method to passively detect CSRFresistant requests by analyzing the traffic to the target website. To this end, we formulate a set of rules to analyze the possible existence of antiCSRF tokens. Traffic analysis based on the proposed rules outputs resistant requests due to the use of random tokens. Consequently, the requests without such tokens are deduced to be potentially vulnerable. The proposed method is implemented and evaluated by the traffic extracted from several websites. The results confirm that the method can effectively detect anti-CSRF tokens in requests and the more complete the website traffic, the more accurate the results.
Keywords :
Web security , Vulnerability detection , CrossSite Request Forgery (CSRF) , Anti , CSRF token , Traffic analysis
Journal title :
Journal of Computing and Security
Journal title :
Journal of Computing and Security
Record number :
2673240
Link To Document :
بازگشت