XSS-GUARD: Precise dynamic prevention of cross-site scripting attacks

被引:0
|
作者
Bisht, Prithvi [1 ]
Venkatakrishnan, V. N. [1 ]
机构
[1] Univ Illinois, Dept Comp Sci, Syst & Internet Secur Lab, Chicago, IL 60607 USA
关键词
cross-site scripting (XSS); attack prevention; filtering; security;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper focuses on defense mechanisms for cross-site scripting attacks, the top threat on web applications today. It is believed that input validation,(or filtering) can effectively prevent XSS attacks on the server side. In this paper, we discuss several recent real-world XSS attacks and analyze the reasons for the failure of filtering mechanisms in defending these attacks. We conclude that while filtering is useful as a first level of defense against XSS attacks, it is ineffective in preventing several instances of attack, especially when user input includes content-rich HTML. We then propose XSS-GUARD, a new framework that is designed to be a prevention mechanism against XSS attacks on the server side. XSS-GUARD works by dynamically learning the set of scripts that a web application intends to create for any HTML request. Our approach also includes a robust mechanism for identifying scripts at the server side and removes any script in the output that is not intended by the web application. We discuss extensive experimental results that demonstrate the resilience of XSS-GUARD in preventing a number of real-world XSS exploits.
引用
收藏
页码:23 / 43
页数:21
相关论文
共 50 条
  • [31] XSSDS: Server-side Detection of Cross-site Scripting Attacks
    Johns, Martin
    Engelmann, Bjoern
    Posegga, Joachim
    [J]. 24TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE, PROCEEDINGS, 2008, : 335 - +
  • [32] Browser's Defenses Against Reflected Cross-Site Scripting Attacks
    Mewara, Bhawna
    Bairwa, Sheetal
    Gajrani, Jyoti
    [J]. 2014 INTERNATIONAL CONFERENCE ON SIGNAL PROPAGATION AND COMPUTER TECHNOLOGY (ICSPCT 2014), 2014, : 662 - 667
  • [33] Content Security Policy (CSP) as countermeasure to Cross Site Scripting (XSS) attacks
    Dolnak, Ivan
    [J]. 2017 15TH IEEE INTERNATIONAL CONFERENCE ON EMERGING ELEARNING TECHNOLOGIES AND APPLICATIONS (ICETA 2017), 2017, : 99 - 102
  • [34] Detecting Blind Cross-Site Scripting Attacks Using Machine Learning
    Kaur, Gurpreet
    Malik, Yasir
    Samuel, Hamman
    Jaafar, Fehmi
    [J]. 2018 INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING AND MACHINE LEARNING (SPML 2018), 2018, : 22 - 25
  • [35] Detection and Prevention of Cross-site Scripting Attack with Combined Approaches
    Chen, Hsing-Chung
    Nshimiyimana, Aristophane
    Damarjati, Cahya
    Chang, Pi-Hsien
    [J]. 2021 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATION (ICEIC), 2021,
  • [36] Analysis and Prevention for Cross-site Scripting Attack Based on Encoding
    Ding Lan
    Wu ShuTing
    Ye Xing
    Zhang Wei
    [J]. 2013 IEEE 4TH INTERNATIONAL CONFERENCE ON ELECTRONICS INFORMATION AND EMERGENCY COMMUNICATION (ICEIEC), 2014, : 102 - 105
  • [37] Deploying Hybrid EnsembleMachine Learning Techniques for Effective Cross-Site Scripting (XSS) Attack Detection
    Bacha, Noor Ullah
    Lu, Songfeng
    Ur Rehman, Attiq
    Idrees, Muhammad
    Ghadi, Yazeed Yasin
    Alahmadi, Tahani Jaser
    [J]. Computers, Materials and Continua, 2024, 81 (01): : 707 - 748
  • [38] A Combinatorial Approach to Analyzing Cross-Site Scripting (XSS) Vulnerabilities in Web Application Security Testing
    Simos, Dimitris E.
    Kleine, Kristoffer
    Ghandehari, Laleh Shikh Gholamhossein
    Garn, Bernhard
    Lei, Yu
    [J]. TESTING SOFTWARE AND SYSTEMS, ICTSS 2016, 2016, 9976 : 70 - 85
  • [39] Cross-Site Scripting (XSS) Worms in Online Social Network (OSN): Taxonomy and Defensive Mechanisms
    Chaudhary, Pooja
    Gupta, B. B.
    Gupta, Shashank
    [J]. PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 2131 - 2136
  • [40] Positive Security Model based Server-side Solution for prevention of Cross-site Scripting Attacks
    Maurya, Swati
    [J]. 2015 ANNUAL IEEE INDIA CONFERENCE (INDICON), 2015,