Model Checking for the Defense against Cross-Site Scripting Attacks
Yu Tao Sun, HE Da-ke · 2012
The scripting languages (mostly Java Script) have been widely used in the network application, for the sake of improvement of the user experience. This makes Cross-Site Scripting (XSS) attacks one of the most serious threats to Internet. A model checking method for the defense against cross-site scripting attacks is proposed in the paper. Bugs of the e-commercial website are found and counterexamples are showed by model checking. An operation behavior is judged if it conforms to requirements of the website for legal behavior, so as to prevent XSS attacks from the point of operation. The automatic modeling algorithm for the HTML code is proposed and the case of the performance of the algorithm is presented.