XSS‐immune: a Google chrome extension‐based XSS defensive framework for contemporary platforms of web applications
- 15 August 2016
- journal article
- research article
- Published by Wiley in Security and Communication Networks
- Vol. 9 (17) , 3966-3986
Abstract
In this paper, the authors analyzed and discussed the performance issues in the existing cross‐site scripting (XSS) filters and based on that, proposed a JavaScript string comparison and context‐aware sanitization‐based framework, XSS‐immune. It is a browser‐resident framework that compares the set of scripts embedded in hypertext transfer protocol request (HREQ) and hypertext transfer protocol response (HRES) for discovering any similar untrusted/malicious JavaScript code. This similar code points towards the untrusted JavaScript code that will be utilized by an attacker to exploit the vulnerabilities of XSS worms. In addition, our technique determines the context of such worms and performs the sanitization on them accordingly for alleviating the effect of such XSS worms from the real world web applications. We have also introduced a mechanism that can detect the injection of malicious parameter values by modifying the existing JavaScript code, that is, partial script injections. The prototype of XSS‐immune was developed in Java and installed as an extension on the Google Chrome. In addition, we have verified the implementation of our design of prototype against five open‐source XSS attack vector repositories, and very few XSS attack worms were able to evade our proposed design. Experimental evaluation and testing of XSS‐immune were performed by adding support from the tested suite of real world web applications. The performance evaluation results revealed that our framework is able to detect the XSS worms with acceptable low false positive and false negative rate in comparison with the performance of existing XSS filters. Experimental results also incurred acceptable runtime overhead because of minor alterations on client‐side browser and computationally fast execution of modules deployed in our browser‐resident framework. Copyright © 2016 John Wiley & Sons, Ltd.Keywords
Funding Information
- TEQIP-II
This publication has 10 references indexed in Scilit:
- JS‐SAN: defense mechanism for HTML5‐based web applications against javascript code injection vulnerabilitiesSecurity and Communication Networks, 2016
- PHP-sensor2015
- Cross-Site Scripting (XSS) Abuse and Defense: Exploitation on Several Testing Bed Environments and Its DefenseJournal of Information Privacy and Security, 2015
- Dielectric elastomers: Asymptotically-correct three-dimensional displacement fieldInternational Journal of Engineering Science, 2015
- mXSS attacks2013
- Auditing the XSS defence features implemented in web application programsIET Software, 2012
- Protection, usability and improvements in reflected XSS filters2012
- Automated removal of cross site scripting vulnerabilities in web applicationsInformation and Software Technology, 2012
- Regular expressions considered harmful in client-side XSS filters2010
- Client-Side Detection of XSS Worms by Monitoring Payload Propagation2009