News for hackers. Stuff that matters.
Re:Ebay posts every character a user types into the password... by brown9-2 on Wednesday June 29, 2016 @07:54AM (#12001007)
Parameters sent via GET can get cached by proxies and they appear in log-files.

Not to argue in favor of sending sensitive data via GET, but I think it is worth pointing out that third-party proxies cannot see the URL or other parts of the HTTP headers or body when the connection is using HTTPS.

Re:Ebay posts every character a user types into the password... by arviewer on Wednesday June 29, 2016 @08:46AM (#12001275)
But there is a good chance that these GET parameters are logged by the webserver. Even if these servers are very secure and strictly monitored, one bad employee can cause a lot of trouble.
Re:Ebay posts every character a user types into the password... by Someone1234 on Wednesday June 29, 2016 @10:08AM (#12001695)
Perhaps, but an employee in that position can steal credentials even without GET logs.

This entire discussion is predicated on a contradictory assumption, that an employee would be corrupt enough to steal credentials from web server logs, but not corrupt enough to steal the same credentials from any other source (inc. database access).

It is like letting a criminal into your home, then being concerned that they might see your security system's pin written on a sticky note on the fridge. Sure, it is a problem, but ultimately the criminal doesn't need that pin to steal your shit, you already let them walk right in.

Re:Ebay posts every character a user types into the password... by lukeschlather on Wednesday June 29, 2016 @11:24AM (#12002206)
GET logs end up in all sorts of places. I would not be at all surprised if anyone working at EBay could get access to them. Not to say they should have access to them, but access to the logs is different from access to the server. Log reading permissions have a rightfully lower standard than ssh/deployment permissions.

(But part of what makes it OK to have more people with access to the logs is you don't put things like username/passwords for all of your customers in the logs.)

Re:Ebay posts every character a user types into the password... by brandonl222 on Wednesday June 29, 2016 @01:20PM (#12003092)
With that logic it doesn't make sense to store passwords encrypted in the DB then either. If an outside attacker gains access to a system it would really suck to have a bunch of passwords sitting in logs unencrypted. Security in depth and all...
Re:Ebay posts every character a user types into the password... by mfer on Wednesday June 29, 2016 @10:41AM (#12001905)
Often times server logs are sent to other locations (such as central locations) for storage. This can be storage for compliance purposes. I wonder if these are logged and sent to some other location. They may be visible to a great many people who don't have direct server access.

In general don't log sensitive information because you don't know how those logs will be used.

Re:Ebay posts every character a user types into the password... by mschuster91 on Wednesday June 29, 2016 @08:06AM (#12001073)
Not exactly. In corp/uni environments there may very well be a SSL-stripping proxy - and it works because in a corp setting you have the fake ca cert installed by IT, and in uni you often have to accept a cert when first connecting to the uni VPN.
Re:Ebay posts every character a user types into the password... by lmm on Wednesday June 29, 2016 @08:28AM (#12001192)
In that kind of environment all bets are off already and recovering security is hopeless, no?
Re:Ebay posts every character a user types into the password... by brown9-2 on Wednesday June 29, 2016 @09:49AM (#12001590)
In this scenario the distinction between GET and POST becomes irrelevant.
Re:Ebay posts every character a user types into the password... by mschuster91 on Wednesday June 29, 2016 @11:32AM (#12002283)
No, it does not, because usually an appliance will have some sort of logging - which will usually include the URL, which in turn contains the GET parameter.
Re:Ebay posts every character a user types into the password... by amalag on Wednesday June 29, 2016 @10:21AM (#12001776)
If there is an inserted CA then I believe any cert from any website can be MITM'ed and there are appliances that do this.

From PaloAltoNetworks website:

"... firewall proxies outbound SSL connections by intercepting outbound SSL requests and generating a certificate on the fly for the site the user wants to visit."

Re:Ebay posts every character a user types into the password... by cmdrfred on Wednesday June 29, 2016 @08:12AM (#12001100)
I'm writing a Html5/Js end to end encrypted chat app for just this scenario. It won't stop a nation state modifying requests in transit and injecting their own js but it will probably stop a nosy sysadmin.
Re:Ebay posts every character a user types into the password... by drodgers on Wednesday June 29, 2016 @08:21AM (#12001161)
"It won't stop a nation state modifying requests in transit and injecting their own js"

It should stop a nation state if you serve up the JS via HTTPS and use certificate pinning.

Re:Ebay posts every character a user types into the password... by icebraining on Wednesday June 29, 2016 @08:40AM (#12001248)
Pinning doesn't work against the "corporate CA" scenario, at least if the user is using Chrome:

Chrome does not perform pin validation when the certificate chain chains up to a private trust anchor. A key result of this policy is that private trust anchors can be used to proxy (or MITM) connections, even to pinned sites. “Data loss prevention” appliances, firewalls, content filters, and malware can use this feature to defeat the protections of key pinning.

https://www.chromium.org/Home/chromium-security/security-faq...

Re:Ebay posts every character a user types into the password... by cmdrfred on Wednesday June 29, 2016 @08:44AM (#12001270)
Thanks for that. I had no idea. I wish there was a way to grab the certificate in Js. Just so you could alert the user that they are MITMed. As it stands I will have to instruct them to check manually.
Re:Ebay posts every character a user types into the password... by lmm on Wednesday June 29, 2016 @09:30AM (#12001497)
If they're MITMing they could replace whatever JS you put with something else, by definition.
Re:Ebay posts every character a user types into the password... by ncallaway on Wednesday June 29, 2016 @09:50AM (#12001591)
While this is true, a parent comment from the user you're responding to has already explicitly mentioned this as a potential issue:

"It won't stop a nation state modifying requests in transit and injecting their own js but it will probably stop a nosy sysadmin."

Re:Ebay posts every character a user types into the password... by mschuster91 on Wednesday June 29, 2016 @09:10AM (#12001381)
You could use https://openpgpjs.org/ for example to provide in-browser cryptography between user and server.
Re:Ebay posts every character a user types into the password... by cmdrfred on Wednesday June 29, 2016 @11:59AM (#12002514)
I've considered it but the overhead on the server side would be too much for the ad-free (ad's = loss of privacy IMO) and non-monetized vision I have. I use diffie-hellman to distribute an encrypted master key to each client that is used initially for the chat. I'm going to tell users not to consider that private (I can certainly man in the middle it from the server as I'm the one who generated the key) but they can use that key to discuss what private key they will use and then enter it manually (my brown dog's name + my birthday with only the first letter of my last name capitalized for example). In that master key I sent earlier there is also a salt to add to the hash of the password they select so even if the key they pick is weak it still might protect them. Everything is wrapped up in AES256 thanks to the Stanford Javascript Crypto Library.

I may use openpgpjs down the line for private messages within rooms. I also want to experiment with WebRTC for private messages and maybe offer some opportunistic peer to peer connections but I haven't gotten the far yet.

Re:Ebay posts every character a user types into the password... by pingec on Wednesday June 29, 2016 @10:01AM (#12001657)
Wait, what? So I guess our admin can read my gmail :/

Will pay attention to what certs are being served from now on...

Re:Ebay posts every character a user types into the password... by slashcrypto on Wednesday June 29, 2016 @07:56AM (#12001016)
you got a point, i will do a short edit here.