Large-Scale Analysis of Style Injection by Relative Path Overwrite

11/02/2018
by   Sajjad Arshad, et al.
0

Relative Path Overwrite (RPO) is a recent technique to inject style directives into sites even when no style sink or markup injection vulnerability is present. It exploits differences in how browsers and web servers interpret relative paths (i.e., path confusion) to make a HTML page reference itself as a stylesheet; a simple text injection vulnerability along with browsers' leniency in parsing CSS resources results in an attacker's ability to inject style directives that will be interpreted by the browser. Even though style injection may appear less serious a threat than script injection, it has been shown that it enables a range of attacks, including secret exfiltration. In this paper, we present the first large-scale study of the Web to measure the prevalence and significance of style injection using RPO. Our work shows that around 9 vulnerable page, out of which more than one third can be exploited. We analyze in detail various impediments to successful exploitation, and make recommendations for remediation. In contrast to script injection, relatively simple countermeasures exist to mitigate style injection. However, there appears to be little awareness of this attack vector as evidenced by a range of popular Content Management Systems (CMSes) that we found to be exploitable.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/19/2022

Context-Auditor: Context-sensitive Content Injection Mitigation

Cross-site scripting (XSS) is the most common vulnerability class in web...
research
11/07/2017

Detection of Wordpress Content Injection Vulnerability

The popularity of content management software (CMS) is growing vastly to...
research
08/01/2022

AdaWCT: Adaptive Whitening and Coloring Style Injection

Adaptive instance normalization (AdaIN) has become the standard method f...
research
12/21/2019

Cached and Confused: Web Cache Deception in the Wild

Web cache deception (WCD) is an attack proposed in 2017, where an attack...
research
07/25/2019

Style Conditioned Recommendations

We propose Style Conditioned Recommendations (SCR) and introduce style i...
research
11/02/2022

The Impostor Among US(B): Off-Path Injection Attacks on USB Communications

USB is the most prevalent peripheral interface in modern computer system...
research
12/05/2020

Optimal polymer slugs injection curves

In the paper we study miscible injection of liquids with decreasing visc...

Please sign up or login with your details

Forgot password? Click here to reset