CPL - Chalmers Publication Library
| Utbildning | Forskning | Styrkeområden | Om Chalmers | In English In English Ej inloggad.

mXSS attacks: Attacking well-secured web-applications by using innerHTML mutations

M. Heiderich ; J. Schwenk ; T. Frosch ; Jonas Magazinius (Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers)) ; E.Z. Yang
Proceedings of the ACM Conference on Computer and Communications Security. CCS 2013; Berlin; Germany; 4 November 2013 through 8 November 2013 (1543-7221). p. 777-788. (2013)
[Konferensbidrag, refereegranskat]

Back in 2007, Hasegawa discovered a novel Cross-Site Scripting (XSS) vector based on the mistreatment of the backtick character in a single browser implementation. This initially looked like an implementation error that could easily be fixed. Instead, as this paper shows, it was the first example of a new class of XSS vectors, the class of mutation-based XSS (mXSS) vectors, which may occur in innerHTML and related properties. mXSS affects all three major browser families: IE, Firefox, and Chrome. We were able to place stored mXSS vectors in high-profile applications like Yahoo! Mail, Rediff Mail, OpenExchange, Zimbra, Roundcube, and several commercial products. mXSS vectors bypassed widely deployed server-side XSS protection techniques (like HTML Purifier, kses, htmlLawed, Blueprint and Google Caja), client-side filters (XSS Auditor, IE XSS Filter), Web Application Firewall (WAF) systems, as well as Intrusion Detection and Intrusion Prevention Systems (IDS/IPS). We describe a scenario in which seemingly immune entities are being rendered prone to an attack based on the behavior of an involved party, in our case the browser. Moreover, it proves very difficult to mitigate these attacks: In browser implementations, mXSS is closely related to performance enhancements applied to the HTML code before rendering; in server side filters, strict filter rules would break many web applications since the mXSS vectors presented in this paper are harmless when sent to the browser. This paper introduces and discusses a set of seven different subclasses of mXSS attacks, among which only one was previously known. The work evaluates the attack surface, showcases examples of vulnerable high-profile applications, and provides a set of practicable and low-overhead solutions to defend against these kinds of attacks.

Nyckelord: browser security , cross-site scripting , innerhtml , mutation-based xss , mxss , unauthorized access , web security



Denna post skapades 2013-12-19.
CPL Pubid: 189934

 

Läs direkt!


Länk till annan sajt (kan kräva inloggning)