Research on Client-Side Scripting Security Technology of Web Application

Author
ZhangMing
Advisor
XueZhi
School
Shanghai Jiaotong University
Major
Electronics and Communication Engineering
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2012
Downloads
67
Citations
0

Request the full text

Abstract

Web2.0sites where interaction is their core feature allow people notjust to retrieve information but contribute their own knowledge andinternet is not only a virtual world but also becoming a bridge amongpeople’s real life. The new and powerful Web applications like socialnetworking sites, blogs, and content sharing sites are different withtraditional computer applications, which undoubtedly bring new securityconcerns.Client-side scripting is the foundation of Web applications andincreasing number of functions are implemented on the client-sideimproving user experience. However because of the complicated networksituations, Web users are easy to be attacked by scripting attack vectorsand the extent of these damages is not less than direct attack onserver-side. This paper systematically explains core techniques related toWeb applications and then focuses on Cross-site scripting (XSS) which isthe Godfather of attacks against Web users. XSS vulnerabilities can bedivided into three varieties and they have important differences in howthey can be identified and exploited. Studies on different XSS attackvectors and vulnerability exploiting processes have been extensivelyconducted by examing real-world examples of XSS attacks. Cross-siterequest forgery (CSRF/XSRF) and ClickJacking are new types of attacksagainst users. This paper analyzes the attacking process as well as protection methods, especially for some combination attacks.In addition, this paper proposes a novel client-side approach toprevent XSS attacks at the basis of existing protections. XSS attacks areto inject malicious script contents in the user’s browser and through astatic constraint analysis based on JavaScript abstract syntax tree, thisalgorithm can successfully construct a constraint system for sensitiveinformation, which can be used to dynamic tracking tainted data andsuccessfully stop the execution of malicious scripts. Further, based on thisalgorithm a Firefox plugin is developed to prevent XSS attacks fromstealing users’ sensitive information which improves the security of webbrowser. And this technique has good flexibility and scalability in that itdoesn’t need to modify the Web application codes.

Table of contents

Summary 5-7 ABSTRACT 7-12 first chapter research background 12-18 1.1 article 12 - 13 development status 1.2 related research Features 13-16 1.2.1 Web application 13 1.2.2 Web security core issues 13-14 1.2.3 Web security vulnerabilities major work 14-16 1.3 papers contents 16 1.4 papers arrangement 16-18 the second chapter WEB application security and risk 18-31 2.1 WEB application core technology 18-23 2.1.1 HTTP protocol 18 -20 2.1.2 URL 20-21 2.1.3 DHTML 21-22 2.1.4 session mechanism 22-23 <br / > 2.2 server -side security policy 23-26 2.2.1 Web application Firewall 23-24 2.2.2 vulnerability Scanning 24-25 <br / > 2.2.3 audit log 25-26 2.3 browser-side defense mechanism 26-30 2.3.1 origin policy 26-28 <br / > 2.3.2 sandbox mechanism 28-29 2.3.3 new browser security features 29-30 2.4 Summary 30-31 <br / > Chapter principle cross-site scripting attacks and techniques 31-49 3.1 cross-site scripting attack Description 31-33 3.2 cross-site scripting attacks classification 33-37 3.2.1 reflective type XSS 33 3.2.2 storage type XSS 33-35 3.2.3 DOM-based XSS 35-37 3.3 XSS vector 37-45 3.3.1 to obtain private information 37-39 3.3.2 request forgery 39-41 3.3.3 expanded scope of the attack 41-44 3.3.4 XSS worm 44-45 3.4 XSS mining 45-48 3.4.1 XSS vulnerabilities construction techniques general process 45-47 3.4.2 XSS vulnerabilities discovered 47-48 3.5 Summary new ways to 48-49 Chapter client-side scripting attacks 49-59 4.1 CSRF 49-54 4.1.1 CSRF attacks 49-50 4.1.2 CSRF attack vector 50-52 defense nbsp 4.1.3 CSRF attacks ; 52-54 4.2 Click hijacking 54-58 4.2.1 clickjacking attack principle 54-55 4.2.2 clickjacking attack vector 55-56 4.2. 3 clickjacking defense 56-58 4.3 Summary 58-59 Chapter constraint analysis algorithm based on XSS defense and its implementation 59 -69 5.1 XSS prevention methods outlined 59-61 5.1.1 feature matching 59-60 5.1.2 script behavior detection 60-61 5.2 XSS client defense algorithm design 61-66 5.2.0 algorithm overall framework 61-62 5.2.1 tainted rule 62-63 5.2.2 symbol definition 63 5.2.3 static constraint analysis 63-65 5.2.4 dynamic taint tracking 65 -66 5.3 algorithm and verification 66-68 5.3.1 case Study 66-67 5.3.2 experimental results 67-68 5.4 summary 68-69 Chapter VI summary and Outlook 69-71 6.1 thesis summary 69-70 6.2 Prospects 70-71 Abbreviations 71-72 References 72-75 Thanks 75-76 <br / > Post or hired during the master's degree thesis 76-77 accessories 77

Related dissertations

  1. Research on Assembly Sequence Optimization of Hull Block
    HuangXiaoXue ·Harbin Engineering University ·2013 ·Master's thesis
  2. Analysis and Design to Browser-Based Sandbox System
  3. Research on Cross-site Scripting Attacks Detection Technology
  4. Security Research of Web Mail System
  5. Research on WEB Application Clickjacking Vulnerability and Defense Method
  6. Research on Static Analysis Methods to Detect Buffer Overflows Vulnerability
  7. A Web Application Security Enhancement Method Design and Implemention
  8. Browser security technology research
  9. The Study of part and assembly incorporate parametric design
    ZhangLaiSheng ·China Agricultural University ·2000 ·Master's thesis
  10. Research on Prevention Model for DOM-based XSS Attack
    HuangWenFeng ·Guangzhou University ·2010 ·Master's thesis
  11. In Partial Fulfillment of the Requirements for the Master Degree of Communication and Information Engineering
  12. Research on Submicron Logic Integrated Circuit Constraints and Convergence Methods
    HuangQuan ·Shandong University ·2011 ·Master's thesis
  13. Behavior-based cross-site scripting attack detection technology research and implementation
  14. The Research and Implement of Information-Flow Monitoring Mechanism Base on the Security of Embedded System