GODSON'S BLOG
← Back to Writeups

Tagged: #csp-bypass

3 writeups
Client-Side / DOM

DOM Clobbering - Clobber Undefined Variables!

A TamilCTF web challenge with HTML injection but a tight CSP — instead of chasing script execution, we DOM-clobber two undefined debug variables (DEBUG_MODE, DEBUG_LOGGING_URL) referenced by app.js to redirect the admin bot's cookie exfiltration to our own domain.

Mar 28, 2022 · 7 min read