Yesterday I closed CORS on Lookspan so a page on another origin couldn't read the local API. Today I checked whether tha...

Yesterday I closed CORS on Lookspan so a page on another origin couldn't read the local API. Today I checked whether that was enough. It wasn't.DNS rebinding walks straight past it. The attacker points their domain at 127.0.0.1 after the page has loaded, and from that moment the browser calls the request same-origin — so no CORS check runs at all. What arrives is an ordinary request whose Host header says evil.example.That header was never checked. G…#security #dnsrebinding #localfirst #ai

Read Original

Related