5 ms·
Plain web text offenders: sending my location over HTTP when HTTPS was possible
- nodata 12y ago'Perhaps "This app would like to use HTTP for its API" should be a permission that the user has to explicitly give.' Good idea.
- Tepix 12y agoChances are the app is doing a NSURLRequest and the OS can't tell if it's an calling API some other HTTP(S) request.
- richardwhiuk 12y agoUnless internet access is segregated into the following it's fairly meaningless: This app would like to use HTTPS This app would like to use HTTP This app would like full internet access From a security point of the view the app realistically should also pin it's certificate as well - the app developer knows the certificates that the app should expect to prevent Charles proxy working.
- balabaster 12y agoIt needs to be more obvious than this... the average non-technical user isn't going to understand the ramifications of this verbage without training - even as minimal as that training may be. - This app would like to transmit secured data over the internet. - This app would like to transmit unsecured data over the internet. Transmitting unsecured data could result in it being intercepted by unauthorized third parties for unintended purposes such as monitoring or tracking of your communications or identity theft. This information could also be used to gain unauthorized access to your devices or accounts. Of course, even if it is secured... it could still be used for such by anyone who can acquire the private key of the server, then you're pretty much hooped. I guess ultimately, it just needs to warn the user that data is being communicated with the internet. It's probably being tracked and monitored by someone and probably not for the purpose the user intended. Use with caution.
- grabeh 12y agoI suspect it is unlikely that the average user would understand the ramifications of agreeing to that request though. How about "This app would like to send your location to its API insecurely"?
- skywhopper 12y agoThe OS does not know what data the app is sending to its API, so it couldn't provide this specific of a warning.
- nodata 12y agoAn average user doesn't know what an API is.
- buro9 12y agoOr better still: "This app would like to send data over the internet insecurely." There would be a nice stampede to get SSL coverage for API endpoints if we called it what it really is.
- jacquesm 12y agoWait until people find out how many of their emails travel in plain text.
- declan 12y agoYup. I wrote about this for CNET in 2013: http://www.cnet.com/news/how-web-mail-providers-leave-door-open-for-nsa-surveillance/ http://www.cnet.com/news/how-web-mail-providers-leave-door-o... "A survey of top mail providers shows that Google is alone in using strong encryption, known as SMTP-TLS... Facebook, Hotmail, Yahoo Mail, and AOL Mail do not accept incoming e-mail in SMTP-TLS encrypted form..." I hope things have improved since. (Some enterprising journalist might want to do a followup.)
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]
- Sarkie 12y agoSubmit to http://plaintextoffenders.com/ http://plaintextoffenders.com/ maybe ?
- snorrah 12y agoIf the location is passed as part of the url get request, wouldn't it still be visible if the request was through HTTPS? I mean it's in the url, isn't that always going to be public, just not the resulting data returned?
- jgrahamc 12y agoNo. That's not how HTTPS works.
- snorrah 12y agoCould you elaborate - I genuinely don't know the process involved. When an HTTPS request is processed, does the client first directly contact the host and negotiate the secure session, THEN pass the URI request along?
- deleted 12y ago[deleted]
- billpg 12y agoThat's correct. The conversation, as seen by an eavesdropper will be: - Client makes DNS request to example.com. - DNS server (we hope the legitimate one) sends IP addr in response. - Client connects to server IP. - TLS negotiation including certs. - Bunch of bytes that look like noise. - Disconnect.
- Tepix 12y agoIn the case of SNI ( https://en.wikipedia.org/wiki/Server_Name_Indication https://en.wikipedia.org/wiki/Server_Name_Indication ) the attacker will see which virtual host you contacted (it's probably the same as the one seen in the DNS lookup).
- azdle 12y agoExactly. TLS is, as the name implies, at the transport layer (TCP). (TLS is the same thing as SSL, the "S" in HTTPS, unless someone wants to be pedantic.) Everything that is at the HTTP level gets encrypted. The only exception to this is (sometimes) the hostname through a process call SNI (Server Name Indication), which sends the hostname as part of the TLS setup before an encrypted session is setup so that the server knows which website's certificate it should be using. This is the only way that you can host more than one website on a single IP address (unless they all share the same wildcard certificate or a single cert has an alt-name for each).
- chinathrow 12y agoI'm sure that there's quite a few companies who can do the same using only your IP address (hence also via https) and getting your location at the accuracy of real world coordinates. And no, I'm not talking about using geoip information, I mean using data bought through 3rd parties selling location data collected through $yourfreeinstalledapp.
- wtbob 12y agoOne issue is that HTTPS is one more thing to manage (no, it's not a complex thing to manage, but it is something). It's too easy for certificates to expire; it's psychologically irksome to pay the CA tax. I've seen many, many SSL expirations over the course of my career; far more than there should be, of course. Somehow we've ended up with a business culture which can track the number of left-handed albino Eskimos in middle management positions, but can't track certificate expiration dates. I don't know off the top of my head if it's possible to package two certs into one, so that one could have a certificate signed by one's own trusted root for one's own API client to trust, and a certificates signed by a CA for web browsers to trust, but that might make folks feel better about using it for an API endpoint: the own-trusted-root might have a different expiration period (risky), or an automatic renewal, or whatever. At the least it'd be self-managed to the point that the technical staff could handle it, rather than having to work through purchasing.
- skywhopper 12y agoThis is a problem because the certificate handling is not in the hands of process managers, but in the hands of the sysadmins, who do not generally work on a rigorous business-cycle type of schedule, and who don't already have tools in place to keep track of such things, and have a hard time justifying creating a tool that would, assuming they just have one or two certs to manage, be used only once every two years (and thus would probably take four years to troubleshoot, by which point something about the assumptions would have changed, meaning the reminders/warnings would probably fail and the cert will get overlooked). It does make me wonder, though... why don't web servers have options to warn their admins (via logging or email or what-have-you) that the certs they are using are near expiration? Or do they? Alternatively, some good samaritan could set up a service to scan the known SSL web for near-expired certs and email webmaster@ or other scraped addresses of the issue.
- gwu78 12y agoHumble opinion: It is easy to block apps from sending sensitive information over the internet by running your own DNS cache and root along with a packet filter. Humble opinion: If someone really wanted to send sensitive information over the internet, they could do better than HTTPS. Moreover, in the event the user is curious what is being sent, doing an experiment like the one here with a proxy becomes unnecessarily more complicated when the app is using HTTPS. Humble opinion: Anything that makes it more difficult for the user to see what information an app is sending is not in the user's best interests. Fact: Are there any alternatives to the scheme used by HTTPS for transmitting and receiving sensitive information? en.wikipedia.org/wiki/NaCl_(software) works pretty good and the code can fit in a Tweet. Suprisingly, its use seems to be spreading; unlike SSL, it does not encourage reliance on untrusted commercial third parties such as SSL cert vendors, "secure" content delivery networks, etc. Fact: Incidentally NaCl compiles without using make. It requires only /bin/sh and (opinion:) the short scripts are easier to edit than makefiles.
- icebraining 12y agoSSL doesn't require relying on any third-parties, any more than NaCl does - you can use a pinned self-signed certificate, and you don't need any CDNs. CA issued certs are only used in websites, because you don't have a secure channel with which to transmit the pinned cert, but they're redundant for apps.
- gwu78 12y ago"SSL doesn't require relying on any third parties" The word "require" was in quotes for a reason. I have changed the sentence to say "encourage". In practice many people using SSL do rely on third parties. In my opinion this is where many problems arise. My opinion is that most people are not aware SSL can be set up without using third parties, and even among those who are, the whole scheme is so cumbersome and error-prone that such persons are content to pay untrusted vendors, or to allow browser authors, to manage their "security". "... they're redundant for apps." OK, that's a fair point. My comments on third party vendors are only applicable to websites. My comments on the other problems with OpenSSL apply to both apps and websites.
- MichaelGG 12y agoThis does not mean that SSL is available for the app. It means that the app currently happens to have an HTTPS endpoint that appears to work. This could be an accident on the BBC's part. As in, the app team requested HTTP and got a confirmation of HTTP, and due to a deployment quirk, also got HTTPS, but can't rely on that since next deploy might "fix" it. Possibly.
- hrayr 12y agoYou blacked out your location in the Charles Proxy screenshot, but not in the chrome screenshot. Just an FYI.
- jgrahamc 12y agoI know.