Re:How I Hacked a Router
by icebraining on Saturday April 05, 2014 @08:16PM
(#7539011)
One more reason to use NoScript - it would have made the CSRF significantly harder to pull off. And a reason to use an OS with a proper package manager, of course ;)
[ Parent
| on HN ]
Not really. Depending on the protocol CSRFs are often an easy 1-click exploit on noscript-enabled browsers. Something like this:
<form enctype='text/plain' method=post action='http://192.168.1.1/vulnerable'>
<input type='hidden' name="<!--" value="--> <SOAP...>" />
<input type='submit' value="submit" style="position:fixed;top:0;left:0;width:1200px;height:1200px;background:#000;opacity:0;" />
</form>
Is the corresponding 1-click that works on noscript.
Re:How I Hacked a Router
by icebraining on Sunday April 06, 2014 @04:18AM
(#7540252)
Hmm, I thought ClearClick would catch that, but apparently it doesn't. That's unnerving. Even ABE lets it through.
That said, it would still require the victim to load the fake LinkedIn page (with the wrong domain), which is more likely to look suspicious.
And it would've loaded the router page after the POST (instead of redirecting to LinkedIn), which would definitively signal that something was wrong.
Nah, you just set target="iframe name" on the form and post into a (hidden) iframe. Then in 2 seconds you redirect to LinkedIn. In my experience, getting clicks from targets is easy. One simple way is to show a page with a single link that just says "Redirecting". After a moment most users will just click the link.