Client-side hacking techniques

The website with known CSP bypasses

Renniepak created a website where we can all find known CSP bypasses. It’s great because I’m nowhere near remembering all these and, unfortunately, I also don’t have a habit of writing these things down when I encounter them. Not to mention they are difficult to...

Using YouTube to steal your files

This writeup involves multiple open redirects, iframes, and then more open redirects and ends up with clickjacking that gives the attacker access to your GDrive files. It also is another example that if you actually understand clickjacking and you create a good POC,...

Content-Type research

BlackFan has a great GitHub repo with some research about the Content-Type header. If you want to see what response content types allow XSS or which request CT values cause the preflight request to be sent, this is the place to go....

.js Files Are Your Friends | @zseano

JS files are a goldmine of information but working with them isn’t easy. In the NahamCon talk, zseano shows us his approach to JS files. Watch the full talk here or continue to read my notes. Endpoints in JS files These days it’s very common to use client-side JS code...

Beating HTML Sanitisers

HTML is incredibly complex. With all the namespaces, foreign objects and integration points, it’s incredibly difficult to sanitise well. Not to even mention doing some custom transformations on the sanitised HTML which, (un)fortunately, some companies try to apply. If...