• Home
  • Search
  • Waiting for CSP – Securing Legacy Web Applications with JSAgents
  • Open Access IconOpen Access
  • Cite Icon5
  • https://doi.org/10.1007/978-3-319-24174-6_2Copy DOI Icon

Waiting for CSP – Securing Legacy Web Applications with JSAgents

  • Jan 1, 2015
  • Mario Heiderich +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Markup Injection MI attacks, ranging from classical Cross-Site Scripting XSS and DOMXSS to Scriptless Attacks, pose a major threat for web applications, browser extensions, and mobile apps. To mitigate MI attacks, we propose JSAgents, a novel and flexible approach to defeat MI attacks using DOM meta-programming. Specifically, we enforce a security policy on the DOM of the browser at a place in the markup processing chain just before the rendering of the markup. This approach has many advantages: Obfuscation has already been removed from the markup when it enters the DOM, mXSS attack vectors are visible, and, last but not least, the client-side protection can be individually tailored to fit the needs of web applications. JSAgents policies look similar to CSP policies, and indeed large parts of CSP can be implemented with JSAgents. However, there are three main differences: 1 Contrary to CSP, the source code of legacy web applications needs not be modified; instead, the policy is adapted to the application. 2 Whereas CSP can only apply one policy to a complete HTML document, JSAgents is able, through a novel cascading enforcement, to apply different policies to each element in the DOM; this property is essential in dealing with JavaScript event handlers and URIs. 3 JSAgents enables novel features like coarse-grained access control: e.g. we may block read/write access to HTML form elements for all scripts, but human users can still insert data which may be interesting for password and PIN fields.

Similar Papers
  • Conference Article
  • Citations12

Near-miss clone patterns in web applications: An empirical study with industrial systems

  • May 01, 2013
  • Tariq Muhammad +3
  • Book Chapter

Interface Module for Emulator-Based Web Application Execution Engine

  • Oct 12, 2018
  • Hyunwoo Nam +1
  • Research Article
  • Citations6

Security-by-construction in web applications development via database annotations

  • Mar 03, 2016
  • Computers & Security
  • Wassim El-Hajj +4
  • Research Article
  • Citations2

DetAC: Approach to Detect Access Control Vulnerability in Web Application Based on Sitemap Model with Global Information Representation

  • Aug 31, 2023
  • International Journal of Software Engineering and Knowledge Engineering
  • Jiadong Ren +7
  • Conference Article
  • Citations6

Hunting malicious attacks in social networks

  • Dec 01, 2011
  • D Arulsuju
  • Research Article
  • Citations10

An Efficient Model to Detect and Prevent SQL Injection Attack

  • Mar 30, 2022
  • Journal of Karary University for Engineering and Science
  • Abdalla Hadabi +3
  • Conference Article
  • Citations142

Neural-Network Based Test Cases Generation Using Genetic Algorithm

  • Dec 01, 2007
  • Ruilian Zhao +1
  • PDF
  • Research Article
  • Citations2

Building Cocoa Traceability System Based on Web Application and QR Code

  • Dec 31, 2021
  • Jurnal Aplikasi Teknologi Pangan
  • Ismail Sulaiman +2
  • Conference Article
  • Citations143

Analyzing Information Flow in JavaScript-Based Browser Extensions

  • Dec 01, 2009
  • Mohan Dhawan +1
  • Conference Article
  • Citations5

Fostering the Diversity of Exploratory Testing in Web Applications

  • Feb 27, 2020
  • Julien Leveau +4
  • Conference Article
  • Citations6

Detecting Privilege Escalation Attacks through Instrumenting Web Application Source Code

  • Jun 06, 2016
  • Jun Zhu +2
  • Book Chapter

Resource-Based Web Applications

  • Jun 01, 2005
  • Sebastian Fischer
  • Research Article

57 A predictable smart home integrated with cloud computing and long-term care

  • Dec 01, 2016
  • Journal of Investigative Medicine
  • Feng-Long Huang
  • Research Article
  • Citations15

Application Programming Interface (API) And Management of Web-Based Accounting Information System (AIS): Security of Transaction Processing System, General Ledger and Financial Reporting System

  • Sep 12, 2023
  • Journal of Accounting and Financial Management
  • Olubunmi Omotayo Efuntade +1
  • PDF
  • Research Article
  • Citations1

Improving Web Application Security Using Penetration Testing

  • Aug 05, 2014
  • Research Journal of Applied Sciences, Engineering and Technology
  • D Srinithi +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.