News for hackers. Stuff that matters.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @02:38PM (#1050898)
For the curious, below is the list of sites that DON'T send passwords in the clear.

The curious case was Zynga. They don't have a login form. (!)

Facebook, YouTube, Yahoo, Windows Live, Blogger, Baidu, MSN, QQ.com, Google, Twitter, MySpace, Amazon, Wordpress.com, Ebay, Rapidshare, yandex.ru, mail.ru, imeem, Flickr, IMDB, Craigslist, LinkedIn, AOL, Blogspot, deviantArt, PayPal, Alibaba, Ning, Hulu

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by vlad on Wednesday January 13, 2010 @04:20PM (#1051182)
As ridiculous as it sounds now, eBay used to give an option: use a non-secure form (by default), or click a link to proceed to a secure login form using SSL over https.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by bigiain on Thursday January 14, 2010 @01:49AM (#1052116)
I once had a website that did that - in '96 or '95 I think...
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by nfnaaron on Wednesday January 13, 2010 @04:47PM (#1051249)
Amazon too. Everytime I used to think "well, duh ..."
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by onedognight on Wednesday January 13, 2010 @03:22PM (#1051029)
Vanilla browser based https encryption cannot stop states like the US or China which have access to all the major pipes. All it takes to do a man in the middle on basic https is the key for any one certificate that your browser trusts. Any organization that has one (including many employers which install certs) can easily watch your traffic.

HTTPS is fundamentally insecure against MITM attacks by governments.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @05:29PM (#1051354)
I think the spirit of your comment is pure tinfoil-hat, but the letter of it is actually valid.

It is vanishingly unlikely --- on the level of "major diplomatic incident" --- that China (or any other government, including ours) has the key associated with Verisign's root CA certificate.

It is somewhat more likely (but still, I think, pretty unlikely) that one of the following could have happened:

* Your computer is controlled by an employer that installed a deliberately insecure certificate.

* Your computer is infected with malware that poisons the CA store in your browser.

The first scenario is just very unlikely. We work extensively on-site for Fortune 500 enterprises, in some of the highest-security environments in the world (and in some of the most idiosyncratic and crazy), and none of them require us to install bespoke certificates to access the Internet or their websites. Now, you have to find the one employer (or zero ISPs) that not only installed a custom root, but also gave the keys to China.

The second point is irrelevant. If your computer is infected with malware, there are worse things to be done to you than injecting bogus certificates.

It is almost the case that it's worth pruning out certs from your browser from untrustworthy CAs; unfortunately, the market for certificates has devolved to "who will give us a cert the cheapest". I wouldn't know which ones to kill. A year or so ago, pruning out untrustworthy CAs would have protected you from the MD5 problem.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by onedognight on Wednesday January 13, 2010 @06:54PM (#1051541)
> It is vanishingly unlikely [...] China [...] has the key associated with Verisign's root CA certificate.

Sure. I'll give you this.

> It is almost the case that it's worth pruning out certs from your browser from untrustworthy CAs;

This was my point. So you trust VeriSign, but do you trust the others (there are 125 in my list)?

Here's one:

     Issuer: C=TW, O=Government Root Certification Authority
That looks like the Taiwanese government to me. If they have one you don't think that US has one?
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @07:29PM (#1051599)
If you suggest "now is the time to get paranoid about your certificate store", I agree.

If you imply that there's a problem with the SSL/TLS/HTTPS model, I'm pushing back hard. There is a weird SSL stigma among web developers, and it's time to start beating it back. The alternatives are worse.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by __david__ on Wednesday January 13, 2010 @08:20PM (#1051680)
It's more a problem of certificate chain trust models. You have to trust the security of every podunk CA in your browser's root store since they all have the ability to sign anyone in the world's cert. Should the government CA of Taiwan have the ability to sign bofa.com? I would say no. Let them have * .tw.

The funny thing is that x509 has the ability to limit signing to various CNs, so it's possible to limit signing powers, but no one seems to do it.

> The alternatives are worse.

Hardly. Some alternatives might be worse (plaintext everywhere, for instance). What I would like to see is a * .example.com signing cert being given to all domain owners when they buy a domain, signed by a single * .com authority (or .net or whatever the domain is). This would prove to the https client that the domain they are connecting to is really the domain owner. This is a basic level of trust that would be an option for everyone who owns a domain (without any stupid yearly charge for the certs).

Banks and other important sites could go above and beyond and buy certs that verify that their business is what they say it is, which is another trust level entirely (this already exists and can be seen when you go to paypal.com in firefox and get the green location bar thing).

I think that would be a much better alternative than our current system.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @08:44PM (#1051717)
I agree with you completely. By alternatives, I meant wholesale replacements to SSL/TLS.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by wooster on Wednesday January 13, 2010 @06:46PM (#1051522)
"The first scenario is just very unlikely."

From another perspective: I worked on the content filter for Parental Controls at Apple. My understanding is that every filtering proxy product with SSL support requires the installation of an insecure certificate. That, or they do a fairly rudimentary IP or reverse-DNS based filtering (which is the route we chose for Parental Controls) for secure connections.

These vendors certainly claim to have a lot of Fortune 500 clients.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @06:58PM (#1051550)
You're thinking of, e.g. Bluecoat. Certainly everyone runs something like a Bluecoat. But I can't name a client that uses the feature where your end users install the Bluecoat cert so they can scrub SSL traffic. They just use IP and DNS blacklists, like you.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by run4yourlives on Wednesday January 13, 2010 @06:33PM (#1051492)
It's a lot easier just to install a hidden keylogger then it is to fart around with certs and try to crack https.

Google even references this in the press releases - most of the information gained was done through phishing.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Retric on Wednesday January 13, 2010 @04:28PM (#1051199)
A MITM attack of this nature would be easy for a website owner to discover. Just compare the public keys with what a random browser is receiving.

Edit: CA operates based on trust. All it takes is for a single website to demonstrate this is going on for it to quickly become public knowledge. Now, if you where to target a specific user it might be possible to do this, but hacking their system is a much simpler approach to the same problem with more benefits.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by onedognight on Wednesday January 13, 2010 @04:34PM (#1051214)
Not in the long run since any HTML/JS code you send at that point is vulnerable as well.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @04:26PM (#1051195)
Hm. I wonder how often this happens. We should be able to detect it easily if they do it all the time. Today they don't have to.

For the long term I wonder if it's possible to close this hole by putting certs into DNS and using a single key to sign all of these DNS records. Is this part of the DNSSEC spec? (not at a computer and can't remember for sure if it is called DNSSEC; whatever the name of the next gen DNS is.)

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @05:35PM (#1051364)
The original intent of DNSSEC was to provide an IETF-endorsed public key infrastructure, not to defend the DNS from attacks. The idea was, "we have this great DNS protocol, it works well at Internet-scale, let's leverage it for something other than hostname resolution".

The reality of DNSSEC is that it's creaky, somewhat broken, solves neither the PKI nor the DNS protection problem well, and --- because it is likely to pervasively screw up applications across the Internet --- unlikely ever to be deployed.

Either way, there's no magic bullet. If you concede root keys to China, you have to concede DNSSEC keys --- which are, if anything, more loosely held and more widely distributed than CA keys, which have never had a known breach.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by ronnier on Wednesday January 13, 2010 @03:57PM (#1051118)
While I was in China, I remoted back to my home computer through a remote desktop session to check email. I also tunneled my RDP session through an SSH proxy. Hopefully that was secure enough. I also changed my passwords once I returned home.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by onedognight on Wednesday January 13, 2010 @04:29PM (#1051201)
Once you have the host key for the site you are connecting to on your laptop SSH is not vulnerable to a MITM attack in the same way that browsers are with their huge CA list. Of course, pay attention to the warnings about changed host keys.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by swolchok on Wednesday January 13, 2010 @05:14PM (#1051317)
Patently false. If users submit to the login URL through a link that was sent in the clear, a MITM can just run sslstrip (http://www.thoughtcrime.org/software/sslstrip/) and presto, you're visiting the HTTP version of the page instead of HTTPS. The login URL needs to be unavailable over HTTP, as does the login form.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by wooster on Wednesday January 13, 2010 @06:48PM (#1051527)
Wrong parent post? SSL != SSH
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by swolchok on Wednesday January 13, 2010 @07:42PM (#1051621)
You're right, I misread SSH as SSL.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by run4yourlives on Wednesday January 13, 2010 @02:41PM (#1050908)
I'd prefer we focus on sites that still store passwords in the clear.

Yes reddit, I'm looking at you. Of course any other site that can actually mail you a forgotten password is in fact doing this too.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @02:45PM (#1050923)
Yup, the future is clearly client side hashing. I wonder if we could get the latest and greatest from that field built into the next jquery etc so people become more likely to use the routines. ...

That said states like Iran might be more likely to garner the most passwords through sniffing, which is a passive activity, than hacking the sites that store passwords insecurely.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @02:51PM (#1050942)
The future of secure password handling is feeding browsers javascript so they can attempt to encrypt passwords?

I thought we got the future something like 10 years ago. It was called "TLS".

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @07:33PM (#1051607)
Hm, I guess I always assumed we would end up with SCrypt or something similar running on the client side with a nonce etc so the server never even sees the plaintext password.

Even if that means a new protocol that uses SSL to send the javascript, etc., and we're 15 years away.

Do you think designing a system where the server never sees (or has the opportunity to store) the plaintext password is the way of the future?

(Edit: more emphasis on future, not short term, ambitions.)

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by NateLawson on Friday January 15, 2010 @12:12PM (#1055272)
There is a secure auth mode for SSL called TLS-SRP, RFC 5054. It is quite clean, deriving a session key and authenticating the session in the same number of round trips as a regular TLS handshake. It is secure against dictionary attacks.

http://srp.stanford.edu/whatisit.html

http://www.ietf.org/rfc/rfc5054.txt

Now, if only more browsers would support it.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Tichy on Wednesday January 13, 2010 @09:39PM (#1051783)
What scheme would allow for that, though? Except for public key cryptography?

Seems to me storing hashes and nonces does not work, because without the original password the server can not create new hashes and nonces. So the client would still always send the same thing, which would be equivalent to a password.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @10:11PM (#1051823)
yeah, I know what you mean. I do think it's solvable though.

one time during undergrad I was talking with Hal Abelson because there was this big stink about the new research building (Stata center) requiring rfid's to get around. Richard Stallman et al were making a huge ruckus about the privacy implications of not having physical keys.

I mentioned some desired attributes of a protocol to let people in without logging it, and started worrying about the implementation details / feasibility. he said "oh don't worry about implementation. this building has people in it who can implement anything." he had this smirk about him.

so give it some experts and time and they'll figure it out.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Tichy on Thursday January 14, 2010 @04:52AM (#1052273)
Can they prove P = NP or P != NP? Some things just aren't solvable.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @07:36PM (#1051612)
I'm sorry. I thought you mean Javascript challenge-response, which is a very common and very evil suggestion as a way to get SSL-like security without having to do SSL.

You mean things like 1password. That's fine. I use Keychain and head /dev/random | md5 for any password I don't have to remember.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by jacoblyles on Wednesday January 13, 2010 @05:04PM (#1051286)
Could you elaborate on this for us security newbs? Maybe expand the acronym?

I know enough to encrypt my password storage, but I never thought to encrypt passwords client-side. I'm interested in knowing what are best practices.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by swolchok on Wednesday January 13, 2010 @05:16PM (#1051325)
TLS = SSL. HTTPS = HTTP over SSL.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Retric on Wednesday January 13, 2010 @04:32PM (#1051211)
A few years ago I stoped someone from implementing that. The problem is if you intercept the hash you can use it like a password because the system at the other end would never see the original password.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by seekely on Wednesday January 13, 2010 @06:16PM (#1051455)
You can prevent this circumvention by only allowing the client side generated hash to be good for one login attempt. This is done by giving the client a unique challenge string for each login request and hashing the password with the challenge string.

For example, the user browses to http://www.example.org/login. The generated login form on the page contains a hidden field called "challenge" with a randomly generated hash from the server. When the user submits the login form, have the client do a hash(challenge + password) and send this to the server. Upon receiving the hash and checking credentials, the server invalidates the challenge string regardless if the login attempt was successful.

This obviously does not work if the user does not have Javascript enabled and is not preferable to SSL.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Retric on Wednesday January 13, 2010 @06:53PM (#1051538)
Security is a hard problem. Unless the server knows the password they can't validate Hash(challenge + password). If you intercept both the challenge and the resulting hash you can brute force the password. If you have a method of safely sending the password in the first place you should probably use that all the time instead of trying to build a JavaScript system to avoid sending the password in the clear.

PS: You could implement all the security features of SSL in JavaScript but that wold be pointless and slow. If you really wanted to build a custom security system I would recommended using a Java applet, but even with a team of experts it takes years to build something as secure as SSL.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by carey on Wednesday January 13, 2010 @03:53PM (#1051103)
The future is hopefully something more secure than client-side hashing, probably SRP, or it’ll be NTLM all over again. It would be nice if web browsers implemented it directly, but until then there are JavaScript libraries like http://server.denksoft.com/wordpress/?page_id=27 .
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @04:40PM (#1051230)
Do not implement crypto algorithms in Javascript. Very dangerous. Also, there's no way to serve them securely unless the whole login process is SSL/TLS anyways.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by run4yourlives on Wednesday January 13, 2010 @02:51PM (#1050939)
I think more people should be worried about the janitor with night time server access and a big Vegas debt to pay than the government of Iran, to be honest.

That being said, point taken. While both are important variables to address, one is just plain bad practice.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by simonw on Wednesday January 13, 2010 @06:31PM (#1051486)
Client-side hazing (with JS) is a cute hack that's completely useless for improving security. If there's a man in the middle, they can strip the protection code before you fill in the form.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by amalcon on Wednesday January 13, 2010 @06:49PM (#1051530)
It's not completely useless: it's slightly helpful against an attacker that can snoop but not modify.

Of course, it's pretty silly to go to the trouble of writing javascript code that can not only be modified, but may have bugs, when you can just use HTTPS.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @06:53PM (#1051539)
In practical terms, there is no such attacker. The ability to watch packets in real time is the ability to silently redirect them, or to insert fake packets into the stream.

The traffic manipulation part of the attack is also extremely easy, and not particularly noisy.

For most applications, Javascript crypto is completely useless.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by amalcon on Wednesday January 13, 2010 @07:11PM (#1051571)
Consider the case of someone getting their information by triggering some sort of debug mode on the router, or using some sort of side channel. More plausibly, consider the case where someone can break your over-the-air encryption (but not in real-time). It may be extremely rare, but strictly speaking it's not impossible.

That said, if option A may help in some unusual case, and option B will be effective in all non-catastrophic cases, I know which one I'd choose.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Tichy on Wednesday January 13, 2010 @03:29PM (#1051045)
Client side hashing?
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by jedberg on Saturday January 16, 2010 @01:08PM (#1057217)
What makes you think reddit stores passwords in the clear? We haven't done that for years, ever since Steve learned his lesson.

You can see the code for yourself at http://code.reddit.com if you'd like to verify.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by andrewbadera on Wednesday January 13, 2010 @05:27PM (#1051351)
Why must it be stored in clear? Why not encrypted rather than hashed? That still allows password retrieval. Of course encrypted data is only as secure as the DB and keys/decryption code ...
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by run4yourlives on Wednesday January 13, 2010 @06:28PM (#1051475)
Even AES 256 is breakable. Even then, now you're worried about not just the message value, but the key as well.

All for what? The convenience of letting a user keep the same password they already forgot?

A hash with a salt works perfectly fine for 99% of all situations with very little downside.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by niyazpk on Wednesday January 13, 2010 @10:56PM (#1051875)
>> Even AES 256 is breakable

Can you elaborate on this?

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by run4yourlives on Thursday January 14, 2010 @12:30PM (#1053069)
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by imgabe on Wednesday January 13, 2010 @04:10PM (#1051152)
Add to that, Stumbleupon.

They also email your password to you in plain text after you register for an account. They do this after enforcing a password strength requirement when you create the password.

It's not like they're storing critical data or anything, but lots of people use the same password for a bunch of different things. It wouldn't take much to glean a password from one insecure site and try it out on other, more critical, services.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by ax0n on Wednesday January 13, 2010 @06:42PM (#1051515)
Never mind the fact that if any of the authenticated traffic goes over the wire in the clear (post-login), The Great Firewall could snarf sessionIDs and replay them. This is the concept used in Errata Security's Hamster/Ferret tools. You don't need a username or a password to read their gmail, update their facebook status, or anything. And if any part of the session happens without https, the whole session is at risk.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @06:50PM (#1051531)
This is the whole reason for the HTTP Cookie "Secure" flag: so that session IDs set over HTTPS aren't inadvertently handed out over HTTP.

If you log in at https://mail.google.com, your entire session is encrypted. If you log in via http://mail.google.com, your password is safe, but your session ID isn't.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by ax0n on Wednesday January 13, 2010 @06:57PM (#1051545)
Good point. Also, Moxie Marlinspike's tool, SSLStrip, can break some of this stuff as well. I haven't tested it against the relatively few sites that go out of their way to set the Secure flag.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by pronoiac on Wednesday January 13, 2010 @02:55PM (#1050949)
I've been wondering this about Twitter apps lately.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by briansmith on Wednesday January 13, 2010 @03:11PM (#1050994)
Not only do many Twitter apps send your password in the clear, many of them automatically give your Twitter username & password to any Twitter-specific photo/video hosting service you use with them.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @05:37PM (#1051373)
I haven't used any Twitter app that didn't use OAuth. I don't use a lot of Twitter apps, but what's the popular one that still wants your password?

I don't love OAuth, but it is at least a decent answer to the concern you're raising.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by briansmith on Wednesday January 13, 2010 @09:19PM (#1051757)
See issue #395 below. That stops most mobile applications--except those on the iPhone--from using OAuth.

See http://twitpic.com/api.do, http://img.ly/pages/API, http://code.google.com/p/imageshackapi/wiki/YFROGuploadAndPo..., http://twitrpix.com/api, http://twic.li/api. All of them require and/or allow the client app to pass the user's Twitter username and password.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by wooster on Wednesday January 13, 2010 @06:32PM (#1051491)
Let me present issue 395, the most starred issue on the Twitter API bug tracker:

http://code.google.com/p/twitter-api/issues/detail?id=395

Also fun: if I have an iPhone client app interacting with Twitter and also with a web service that in turn interacts with Twitter, how does OAuth fit into that scheme? Do I make the user do the OAuth dance for the iPhone app? My web site? Both?

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @06:42PM (#1051517)
I'm a lot less concerned about the threat model where one side is your iPhone's persistant store and the other is Twitter. So, no, I think OAuth is probably unnecessary for actual iPhone apps.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by pronoiac on Wednesday January 13, 2010 @06:06PM (#1051435)
I haven't seen OAuth in use on the iPhone, though I've only tried a couple of Twitter clients.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by pronoiac on Wednesday January 13, 2010 @04:26PM (#1051196)
Is there an open catalog of these issues somewhere?
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by cwan on Wednesday January 13, 2010 @03:52PM (#1051100)
Largely irrelevant - at least for now, since Twitter, Facebook and a host of other social networking sites are currently blocked in China.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by pronoiac on Wednesday January 13, 2010 @04:32PM (#1051207)
It's relevant for other snooping & MITM attacks. Twitter's DNS hack last month was cause for concern for me.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by nlativy on Wednesday January 13, 2010 @03:57PM (#1051115)
Wikipedia has a secure server that is linked from their login page (http://en.wikipedia.org/wiki/Special:UserLogin) so users don't have to send passwords in the clear.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by pgbovine on Wednesday January 13, 2010 @06:27PM (#1051474)
anything that's not the default will have a tiny chance of actually being noticed or used :(
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by cmelbye on Wednesday January 13, 2010 @04:37PM (#1051222)
Not really fair to include Wikipedia on this list. The Wikimedia Foundation actually has a completely separate secure server that actually forces you to use https for authentication and article viewing. As far as I know, it works for every single Wikimedia project and language. Wikipedia also has a bolded section called "Secure your account" below the login form with six security tips.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by jbert on Wednesday January 13, 2010 @04:56PM (#1051271)
Of the sites which don't send passwords in the clear, any idea how many are just obfuscating? (Xor, base64, etc).
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @05:36PM (#1051369)
Anything that uses Javascript to encrypt passwords is almost certainly just obfuscating passwords, in effect. Meebo was an example, awhile ago.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by jbert on Thursday January 14, 2010 @07:08AM (#1052402)
I guess you could send out a unique session key with the page, have the JS run AES or similar.

Wait, stop, crypotime.

I'm appear to be trying to design a protocol for secret exchange. I should just go and do some reading instead.

Do you know if there's any value in http digest auth these days? It's deployed in http clients (but only with md5 algo?) and I think it requires the server to store single-hash-of (salt,realm,pw) which you've eloquently pointed out in the past is a bad idea (single-hash of pw is vulnerable to bruteforce since hashes are fast).

My current thinking is that http basic auth over ssl would be preferred to http digest (as an auth method widely, natively supported by http clients), since it avoids pw in plaintext and allows server to store stronger hash (e.g. stretched sha-256, bcrypt) for pw.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Thursday January 14, 2010 @02:28PM (#1053367)
The problem isn't crypto. The problem is that Javascript in the DOM model runs crypto code in an environment where you can't be sure what any symbol means, because any of a dizzying variety of page components or updates sourced on-site and off, under SSL and (most likely) not, could have modified them.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by cracell on Wednesday January 13, 2010 @04:15PM (#1051166)
We really should reinvent web traffic in encryption/secure setup is the default way.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @05:40PM (#1051381)
With current technology, default encryption massively slows down the web. This is Dan Bernstein's key research topic (I believe he's currently working on "High Speed Cryptography", his book, but that's in support of both his DARPA grant and his mission statement, which is "default encryption for everything"). That's a cryptographer, inventing and defending entire new algorithms, because that's what he believes is necessary to achieve default encryption.

In the meantime, what we really need to do is get rid of the stigma about SSL, which credibly solves the problems we're talking about on this thread.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by sounddust on Wednesday January 13, 2010 @05:28PM (#1051353)
That's one of the things that Google has proposed as part of their SPDY protocol.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by est on Wednesday January 13, 2010 @06:29PM (#1051480)
Taobao.com provides an ActiveX control for secure login. It can prevent keyloggers.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @06:36PM (#1051503)
So that's what that was.....I couldn't read the Chinese, ran into that form, and then managed to switch over to a 'normal' login box through random clicking. The normal one was unsecure, but I'm impressed by the ActiveX control.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by est on Wednesday January 13, 2010 @07:18PM (#1051577)
Well, an ActiveX login for online trading sites is like de facto standard in China now. The problem is every site has their own ActiveX, I myself must have over 7 ActiveX installed.

And they are IE & Win32 only. That's why every Mac & Linux user has to install a VirtualBox/VMWare for online trading.

I was hoping Google Gears could provide some sort of similar mechanism, together with CAPICOM exposure to Javascript across platform and browsers :)

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by est on Wednesday January 13, 2010 @07:19PM (#1051578)
Also it DOES provide a SSL login page

https://login.taobao.com/member/login.jhtml

plaintext version

http://login.taobao.com/member/login.jhtml

IIRC most of these popular sites provide a switch option between HTTPS and HTTP.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Rauchg on Wednesday January 13, 2010 @06:28PM (#1051476)
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by jganetsk on Wednesday January 13, 2010 @05:50PM (#1051397)
Add to the list plentyoffish.com (aka pof.com)