10 ms·
I don't think I've ever gagged quite like that while reading a technical article describing a "neat hack". At first I'm thinking, oh, I wonder how they convinc
by zaroth 13y ago
I don't think I've ever gagged quite like that while reading a technical article describing a "neat hack".
At first I'm thinking, oh, I wonder how they convinced Apple to let them use some private APIs, and then... curiosity turns to revulsion as soon as I saw that proxy diagram. Good god... LinkedIn MITM IMAP. That is truly terrifying.
How would you even go about installing that on the user's phone? Oh, that's in there too... they ship a 'configuration profile' which adds a new email account, so your password is leaving the device in cleartext and being used to create the profile server-side which is then shipped back to the phone and installed, how exactly?
This just gets worse and worse if I understand correctly... I'm surprised that configuration profiles can be shipped to an arbitrary device from a third party this way without the user manually installing LinkedIn's certificate as trusted. In other words, it should be a lot harder to "Accept" these profiles outside an enterprise setting, because it sounds exploitable. What else can you configure "so easily" I wonder?
Then you get into how they are hacking CSS and iframes into the email body, to substitute for Javascript, and actually create a workable user interface. Now this is fascinating, impressive, and deserves further study... Without fully understanding exactly what they are doing, however, it sounds highly abusive of the Mail app's rendering capabilities, and points to exploitable paths within the Mail app that probably need to be tightened up by Apple. If LinkedIn can make an email "act" like that without any opt-in on my part, how would Mallory use the same "feature" in their latest SPAM campaign?
<s>Thanks LinkedIn... really, I'm impressed. When exactly did Walter Bishop start working for you?</s>
P.S. I look forward to following your pending class-action lawsuit for violation of US federal wiretapping laws. Cheers!
- deleted 13y ago[deleted]
- Kiro 13y agoWhat exactly were you expecting? I think it's a neat hack using some clever tricks.
- potatolicious 13y agoThat LinkedIn not violate one of the simplest, most fundamental notions of security: never ever give your credentials to a third party. Part of being a semi-decent citizen of the internet is also not encouraging users to give third parties their credentials It is a neat hack. I'd love this if it was "here's how we integrate LinkedIn into our email clients internally". It is novel and it does use CSS in weird and new ways. It should also not be a shipping public product. MITM is bad shit.
- tekacs 13y agoTo be fair, they specifically mention that they use OAuth for Gmail/GApps. It seems like they're aware of this but it's hardly their responsibility to avoid building a hack such as this just because Google are the only provider to allow IMAP access with OAuth. If more e-mail providers would allow such authentication, I'm sure LinkedIn would be happy to extend the support.
- rhizome 13y agoIt seems like they're aware of this but it's hardly their responsibility to avoid building a hack such as this... Is that so? "Fsck the world, we got a business to run?"
- tekacs 13y agoHow about "the world isn't perfect and whilst it would be great to live up to our every ideal, our primary responsibility is running a business and providing a great experience for our users who, ultimately, in the vast majority regularly engage in such egregious violations of sensible security protocol that most-anything we do is unlikely to affect them and in cases where it would, said users are usually sufficiently literate to wish to avoid this anyway".
- rhizome 13y agoThat's a pretty long-winded explication of, "it's a race to the bottom."
- geofft 13y agoIt's a neat hack, but a bad one.
- sliverstorm 13y agoI agree. Imaging computers by dd'ing disk images over the network via netcat isn't secure or a Good Idea, but it is also a neat trick. This, like dd+nc, has some practical concerns such as security, but that doesn't mean it isn't creative and interesting.
- meshko 13y agoThere is nothing new about this. Putting a proxy into to modify content is as old as the usage of tcp proxies. What is new here is that they have no shame -- I don't expect software from a reputed company to pipe my email through their servers.
- magic_haze 13y agoTo play the devil's advocate, how is this any different morally from what Gmail (and Outlook, and Yahoo) do with their external emails feature? In each case, you give them the credentials for your other account, they pull the mail and display it in their interface (which, presumably, adds some new features that doesn't exist in the other account. Like conversations and tags.) LinkedIn is doing pretty much the same thing.
- rmrfrmrf 13y agoG-mail/Yahoo: moving your content to your e-mail address. LinkedIn: moving their content to your e-mail address. G-mail/Yahoo: Duplicating your content. LinkedIn: Manipulating your content. G-mail/Yahoo: E-mail providers. LinkedIn: Social media provider. G-mail/Yahoo: uses protocols as intended to provide service. LinkedIn: uses hacks to provide service. G-mail/Yahoo: No risk of compromising devices. LinkedIn: Extreme risk of device compromise. Intentionally circumvents device security features. Multiple potential points of security breach (at proxy server, at web server, through rendering engine). No comparison, really.
- corin_ 13y agoEverything they do differently is irrelevant as long as the user is asking them to do those things. If Gmail starts showing me fetish porn that's bad, if a fetish porn site does the same thing it's fine. The only relevant difference is security/privacy, in which Google may be more trustworthy but even that is debatable, regardless of which side of the debate you land on.
- raverbashing 13y agoOh yes, and if the Linkedin IMAP MITM stops working for some reason I stop getting my emails?
- samstave 13y agoHow are they handling attachments? Are my attachments going through their proxy? Can they see them? What if their servers are down? What if their servers are hacked more easily than some other allowing for all mail passing to be slurped?
- ivix 13y agoNerd outrage hyperbole much? This is an OPT IN service. You know, only for people who WANT to use it? If it causes you this degree of apoplexy, you are in luck: you don't have to use it.
- iuguy 13y agoThis service shouldn't exist. It breaks the very concept of email security. They're marketing it as though it's safe. Want hyperbole? Imagine Bayer marketing heroin as safe because you know, it's opt-in.
- ryguytilidie 13y agoWant hyperbole? Compare an opt in social network to heroin.
- jlgreco 13y agoWhy the hell not? Heroin from Bayer would not have the quality control issues Heroin typically has. It only becomes problematic when you consider that the user is getting themselves into a situation that they do not fully understand and potentially cannot easily back themselves out of. With drugs that have a high potential to cause harm, we typically force the consumer to consult a professional before allowing them to proceed. Tech is still in the era of patent medicines.
- iuguy 13y agoI specifically used the example of Heroin as Bayer marketed it as a non-addictive alternative to morphine, proclaiming it safe.
- golergka 13y agoHitler.
- davea37 13y ago> It breaks the very concept of email security. There's no such thing. Email breaks the concept of email security.
- cpg 13y agoI tend to agree that no sane person with minimal technical knowledge would balk at this. I already know that Yahoo! sells the email addresses of the people I exchange even one email with to LinkedIn and I am repulsed by this. LI then turns around and offers them as connections. I should note I am always logged out from LI to prevent even more evil from them. LI is just evil and should be eradicated.
- berberous 13y agoI highly doubt Yahoo is selling your e-mail contacts to LI. Do you have any proof or citations? I suspect either you authorized LI in the past (and forgot it's still authorized), or your contacts have authorized LI so it's pulling in their e-mails with you, not yours.
- shortsleeves 13y agoI think you might be forgetting that by e-mailing said person, you become part of their contacts too. Should that person decide to import or sync their contacts in linkedin, a relationship between you and that person is established on their server. ie: it's an _undirected_ edge between you and your contact, which they seem to use to display stuff back to you.
- tedunangst 13y agono, no, no. Reddit's Razor: if a corporation could be doing something evil, they are doing that something.
- brymaster 13y agoThese "social" big data companies have a history of doing evil (or sometimes, stepping right up to that line) and $LKND certainly isn't in business to be altruistic. Their iphone app used to slurp up your data without authorization: http://arstechnica.com/apple/2012/06/your-iphone-calendar-isnt-privateat-least-if-you-use-the-linkedin-app/ http://arstechnica.com/apple/2012/06/your-iphone-calendar-is... Furthermore: LinkedIn: The Creepiest Social Network https://news.ycombinator.com/item?id=5680680 https://news.ycombinator.com/item?id=5680680 LinkedIn opts 100 million users into sharing information with ads https://news.ycombinator.com/item?id=2872030 https://news.ycombinator.com/item?id=2872030 LinkedIn is Evil https://news.ycombinator.com/item?id=220138 https://news.ycombinator.com/item?id=220138
- stigi 13y agoI can't agree more. Next thing: store your S/Mime private keys on linked in servers to enable the feature also for encrypted mails... I think LinkedIn should not offer every feature that's technically possible. Things should stay within reason, and some things should not be offered, especially not to non-savvy users.
- duhprey 13y agoIt's funny, I read all through that with my rose tinted glasses thinking they'd created a local IMAP server on the phone, which would have been clever (and, I think, doable)... in fact I was running this perception until "Our proxy server is written in Ruby using EventMachine, which allows it to efficiently handle many concurrent IMAP connections" And I thought, why the heck would one phone be issuing so many concurrent IMAP connections. Oh my naiveté.
- junki3 13y agoI was thinking the same thing. This solution didn't even cross my mind because… well who would ever use anything like this?
- zimpenfish 13y agohttp://blog.fastmail.fm/2013/09/17/ios-7-mail-app-uses-multi-folder-body-searches-by-default/ http://blog.fastmail.fm/2013/09/17/ios-7-mail-app-uses-multi... "[iOS 7] opens many IMAP connections at once for searching each folder concurrently. We’re not sure on the upper bound on the number of connections it will make, but saw at least 10 in one case."
- thefreeman 13y agoWhere in the blog post does it say that your credentials are leaving the device in clear text. I know people don't like LinkedIn but I don't think even they would be dumb enough to do this over http.
- neohaven 13y agoHow are they going to log in to your email account to MITM it, exactly, other than sending your password in cleartext to them? I'm not saying the connection itself is cleartext, but that they will be storing your email password in cleartext(!) to access your account at your email provider...
- tedunangst 13y agoI think "your password is sent to LinkedIn" sufficiently and accurately describes what's happening. Adding "in cleartext" typically means via an unencrypted channel. Think about. Think about it. Every time you login into a website via password, your browser sends the password to the server. We don't usually call that out for being in plaintext, unless it really is using http.
- nopassrecover 13y agoInterestingly in a world of front-end JS frameworks you could fix this by encoding client-side before submission.
- hfern 13y agoI believe vBulletin actually does this.
- davidsong 13y agoIt's a good idea IMO, I don't understand why it gets so much flak. A server who doesn't want to know your secret is more trustworthy than one that does, a MITM might be able to hijack your account but he won't see your favourite password and you don't have to trust that the server is hashing the password at their end. To avoid the "hash is a plaintext password" problem you save double-hashed passwords to your database, once in the browser and once on the back-end, twice on the back-end if JavaScript was disabled in your user-agent. Of course that doesn't solve the problem above, but it still ought to be common practice.
- nness 13y agoIs it illegal wire-tapping under US law if you enable the service voluntarily?
- olegp 13y agoI'm curious: given the negativity of the comments why does the post have so many upvotes? Do people find the technical details interesting despite the privacy concerns? Either way, congrats to Martin, Sam and others on the launch. Getting something out the door to such a wide audience after working on it for over a year must be quite a challenge.
- onedev 13y agoI think people decided that this was something worth discussing. A lot of times I won't necessarily agree with or like the post that I'm upvoting, but I upvote it so that it gets more visibility and then I can read other people's opinions and analysis of the thing at hand.
- r0h1n 13y agoEven bad/negative stories deserve their moment of sunshine on the HN front page, perhaps even more so. How else would we be having this discussion?
- songgao 13y agoI think LinkedIn should open source their proxy endpoint to let people use their own server to proxy messages... p.s. Why Walter Bishop?
- joshdance 13y ago"I'm surprised that configuration profiles can be shipped to an arbitrary device from a third party this way without the user manually installing LinkedIn's certificate as trusted." The user has to install the profile as trusted. There is no mechanism for auto installing a profile. Similar to TestFlight and the profile you install to use that.