
I'm facinated about web technologies and all the ways you can break them For collaborations: [email protected]
Berlin, Germany
Joined April 2014
- Tweets7
- Following115
- Followers55
- Likes270
We need the closing tag, and we have to call the JSONP payload to execute code.
That’s where the weird domain name you might have noticed comes into play.
Unicode IDNA Compatibility Processing is the answer. Long story short, browsers do not mind unicode in a domain name. Some of those characters can be unwrapped into ASCII strings.
㎉ -> kcal
㏄ -> cc
This way ㎉㎉.㏄ (4 symbols long) will be unwrapped into kcalkcal.cc
Full table: unicode.org/Public/idna/late…
1
5
Try out this new challenge 3.ch.d0ner.me/
Same goal: pop up an alert in the context of the same origin.
The solution is based on how browser processes URLs, which I will talk about later.
GLHF!
#ctf #security #bugbounty #websecurity
Challenge 2: 2.ch.d0ner.me/
The page:
1. Sends the Cross-Origin-Opener-Policy: same-origin header, which blocks the window.name path
2. The first script iterates over GET parameters to find one that sets the language
3. The second script takes the redirect_to GET parameter
4. If it’s 15 characters or shorter, assigns it to window.location.href
With the window.name path blocked, let's look at the first script.
The for loop uses var instead of let, so the variable stays in the global scope after the script finishes. That means p holds the last user-supplied GET parameter pair.
With this in mind, we can build the following exploit.
1
30
Wrote a small extension to highlight HTTP requests in Burp based on Firefox container they are opened in github.com/rumiljonov/firebu…





