• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (10): 45-50.

• 论文 • Previous Articles     Next Articles

Design and Implementation of a XSS Vulnerability Whitebox Testing Framework

FENG  Kai,LIN Bogang   

  1. (School of Mathematics and Computer Science,Fuzhou University,Fuzhou 350002,China)
  • Received:2011-05-15 Revised:2011-07-20 Online:2011-10-25 Published:2011-10-25

Abstract:

With the popularity of the Web2.0 applications, crosssite scripting vulnerability which can cause a serious threat to the safety of users exists in a wide range of websites, due to the lack of proper verification mechanisms. Currently, the mixture of the serverside and clientside codes makes accurate and effective detection of crosssite scripting vulnerability more difficult. In our study, based on a static data flow analysis combined with a string constraint solving technique, we design a whitebox testing framework for detecting crosssite scripting vulnerability. We implement our framework in a prototype tool called XSSExplore, and the experimental results show that the system can better generate a more effective attack vector and detect crosssite scripting attacks compared with similar products.

Key words: Web security;XSS;static analysis;fuzzing;whitebox testing