News for hackers. Stuff that matters.
Re:JetBrains IDE Remote Code Execution and Local File Disclo... by pilif on Tuesday August 16, 2016 @04:06AM (#12296136)
> I can't imagine a valid use case for that outside of developers working against a local machine

it's very useful to talk to locally installed applications without having to write specific browser plugins for all browsers. Dropbox and Github are using it to detect the presence of their respective desktop apps.

And I'm personally using it (with restrictive CORS header, referrer signature checking and only listening on localhost) to read a barcode scanner and put the data into a web application. We only had to write one app per OS we support instead of one app per OS and one extension per browser (which also means that this works in all HTML5 compatible browsers, not just those we deem worthy of our support).

Re:JetBrains IDE Remote Code Execution and Local File Disclo... by K0nserv on Tuesday August 16, 2016 @04:09AM (#12296142)
I should have been clearer about that, for extensions I agree that calling localhost is reasonable if you have a desktop app you want to talk to for example. My suggestion would be removing the capabilities of XMLHTTPRequests to localhost from websites wile retaining the possibility for extensions