pwncollege
DojosLeaderboardCommunity
Back to web-security~f98637a0

DOM Clobbering

web-security~f98637a0
0/9 challenges completed

So you've met Content-Security-Policy, the thing that ruins your day by refusing to run untrusted scripts. But almost every site ships JavaScript of its own, and CSP can't block that. If you can't bring your own script, you can try to hijack the one that's already there.

This module walks through DOM Clobbering: using plain HTML to overwrite JavaScript variables and bend existing code to your goals.

Additional Resources
1
Baby's First DOM Clobbering
2
Real DOM Clobbering
3
Clobbering Attributes
4
Clobbering Multiple Levels
5
Welcome to PWN.GOLF
6
Barrier Breaker
7
Crash Course
8
Clobbering Links
9
Impurifier