People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
Referrer-Policy but most sites do not do this.Referrer-Policy setting with images, scripts, iframes, anchor tags and forms. On Safari, the anchor tag and meta redirect have an incorrect referer header. On Chrome, all tags leak the referer completely. When an application sets the no-referrer on the policy, Safari & Firefox leaks the origin on some tags and it leaks the whole URL on anchor and meta tags, with Chrome doing some of the tags but not all the same. From this, the anchor tag and metadata redirection work to always leak the full URL of the page with HTML injection. unsafe-url to allow referer leaking. Second, make the form a GET request. By default, the browser will put the filled-out fields into the query parameters. By combining the injected meta referrer, and redirect, the credentials are sent in a top-level navigation to the attacker's site. Pretty neat!