Yahoo starts encrypting all email, but implementation is inconsistent
Yahoo has started to automatically encrypt connections between users and its email service, adding an important security layer that rival Gmail has had for almost four years, but its implementation needs work, according to at least one security expert.
Yahoo Mail had support for full-session HTTPS—SSL/TLS encryption over HTTP—since late 2012, but users had to opt in to use the feature. Tuesday, the company delivered on a promise that it made in October to enable encryption for everyone by default by January 8.
”Anytime you use Yahoo Mail—whether it’s on the web, mobile web, mobile apps, or via IMAP, POP or SMTP—it is 100% encrypted by default and protected with 2,048 bit certificates,” said Jeff Bonforte, senior vice-president of communication products at Yahoo, in a blog post. “This encryption extends to your emails, attachments, contacts, as well as Calendar and Messenger in Mail.”
While this is a great step, the company’s HTTPS implementation appears to be inconsistent across servers and even technically insecure in some cases, according to Ivan Ristic, director of application security research at security firm Qualys, which runs the SSL Labs and SSL Pulse projects.
For example, some of Yahoo’s HTTPS email servers use RC4 as the preferred cipher with most clients. “RC4 is considered weak, which is why we advise that people either don’t use it, or if they feel they must, use it as a last resort,” Ristic said.
Other servers, like login.yahoo.com, primarily use the AES cipher, but do not have mitigations for known attacks like BEAST and CRIME, the latter targeting a feature called TLS compression that login.yahoo.com still has enabled.
None of the servers checked by Ristic support forward secrecy, a feature that makes decryption of previously captured SSL traffic impossible even if the server’s private key is compromised in the future. This is a property of the Diffie-Hellman Ephemeral (DHE or ECDHE) key agreement protocols. Instead, the Yahoo servers use traditional RSA key exchange.
Google’s SSL configuration for Gmail supports forward secrecy since 2011 and Facebook and Twitter have also implemented it.
Because of various theoretical and practical attacks demonstrated against SSL in recent years, security experts also recommend the use of ciphers that function in Galois/Counter Mode (GCM). These are only available in TLS 1.2, the latest version of the protocol, but not all of Yahoo’s servers support TLS 1.2.
”I think we should accept that Yahoo needs time to get their servers in order when it comes to encryption, but perhaps they need to be more transparent about what they’re planning and doing,” Ristic said. “For example, I would have preferred to see something along the lines of: ‘We haven’t done these other things yet, but here’s our schedule for addressing them’.”
Yahoo’s move comes after repeated calls over the years from security experts and privacy advocates for the company to enable HTTPS for email. The recent revelations of mass Internet surveillance by the U.S. National Security Agency and U.K. Government Communications Headquarters that painted a picture of Yahoo being a primary target for user data collection by intelligence agencies have likely added to the pressure as well.
One top-secret document leaked by former NSA contractor Edward Snowden showed that in a single day in 2012, the NSA collected over 440,000 email address books from Yahoo, compared to around 100,000 from Hotmail, 82,000 from Facebook and 33,000 from Gmail.
Gmail has had HTTPS by default since 2010, Microsoft’s Outlook.com email service launched in July 2012 that eventually replaced Hotmail had this feature from the beginning, and Facebook started rolling out HTTPS by default to users in November 2012. All companies supported full-session HTTPS on an opt-in basis for some time before making it the standard setting.
The media reports about NSA’s data collection programs have also prompted Yahoo to expand its encryption efforts beyond email. The company plans to encrypt information moving between its data centers and to offer users the option to encrypt all data flows to and from Yahoo by the end of the first quarter of 2014, Yahoo CEO Marissa Mayer announced in November.