↓ Skip to main content

URL parsing

URLs get normalised, concatenated and re-read, and everyone involved does it slightly differently. Bugs live in the gap.

2014

patrik.re Archive

Hijacking a Prezi Subdomain Redirect ($500)

mailroom.prezi.com concatenated the request path onto its own hostname when redirecting, so a request to /.attacker-domain sent victims to a lookalike attacker-controlled host.

patrik.re

Chrome backslash URLs and XSS filter bypass

Chrome resolves and executes a script URL written as http: followed by any number of backslashes. Firefox does not, and that difference can slip past pattern-matching XSS filters, closed by Chromium as wontfix.