Poor SSL Setups Leave Websites Open To Attack

Security researchers are buzzing about the flaws in the Secure Sockets Layer (SSL) system and the fact that a significant portion of the Internet is vulnerable to attack. At the recent Black Hat security conference in Las Vegas, there were several reports and panels addressing various issues.

Based on the public key infrastructure (PKI), the SSL protocol has grown “organically” to become almost ubiquitous for keeping Internet communications secure within the world’s largest organisations, Jeff Hudson, CEO of Venafi, told eWEEK.

Servers Not Configured Properly

Less than a fifth of Websites claiming to have SSL deployed correctly redirect traffic, according to a report released by the Qualys SSL Labs community project at Black Hat. Of the nearly 250,000 sites with SSL turned on that were surveyed, only 51,000 were redirecting properly to SSL for authentication. The remaining 80 percent of the sites may or may not redirect to SSL, making them vulnerable to a man-in-the middle attack from Firesheep and other tools.

Overall, there has not been a lot of improvement worldwide in how SSL has been deployed over the past few years, Philippe Courtot, chairman and CEO of Qualys, told eWEEK. Organisations are just rolling out SSL servers and not taking the time to ensure the servers are configured properly, the report found.

Courtot declined to specify any of the offenders, noting that the problem was widespread.

There were a number of configuration flaws, including the use of insecure cookies and mixing unsecured traffic with secured traffic on the same page. Websites using SSL have to redirect to SSL immediately, instead of encrypting only a portion of the page, as that opens the user to session hijacking attacks, Courtot said.

When users see a padlock on the Web browser or some other form of visual notification that the site has SSL deployed, they expect their log-in credentials are protected, Courtot said. However, it turns out many organisations made a conscious choice not to use SSL in authentication despite rolling out the security protocol, researchers found.

Nearly 70 percent of the surveyed servers handled the log-in process in plain text, and a little over half the servers were transmitting passwords as plain text, making it easy for a malicious attacker to intercept the sensitive information, according to the report.

No Padlock, No Confidence

This is a significant problem in the mobile space, according to Julien Sobrier, a senior security researcher at Zscaler. There is no “UI element equivalent to the lock” on mobile browsers and no visibility into the URLs to tell if the traffic is going over HTTP and HTTPS, Sobrier wrote August 11 on the Zscaler Research Labs blog.

Citigroup learned the hard way that just having SSL on a Website does not keep data secure, as attackers exploited a weakness in the SSL connection on the financial giant’s credit card Website and the Web browser to intercept sensitive information, Rainer Enders, CTO of NCP Engineering, told eWEEK.

While some companies, such as Google and Twitter, have taken steps to protect users by implementing HTTPS, all Websites where users log in should be encrypting traffic, as well as requiring HTTPS for all requests sent with a cookie, Sobrier said.

Qualys looked at how sites secured cookies and found that only six percent had properly configured session cookies, the report found. Even if the Websites are 100 percent encrypted, if the developer does not set a secure flag on the session cookies from within the application, a malicious third-party can sniff the contents of that cookie. This technique is very commonly used to force the browser to display session values stored on the insecure cookie.

Who’s Who

Authenticity is important in the SSL system because it ensures that users are talking to the entity they intended to and that no one is listening, Chester Wisniewski, senior security advisor at Sophos, wrote on the Naked Security blog. The way the current system is set up, every major government in the world, and many minor ones, have the ability to sign any certificate they wish, he said, speculating that the Department of Homeland Security could probably get a certificate claiming to be Google.

Security researcher Moxie Marlinspike presented an alternative system that bypasses certificate authorities and relies on a series of trusted notaries selected by the user, as opposed to relying on the 600 or so certificate authorities accepted by major Web browsers.

“CAs can be compromised and that major damage can result from related man-in-the-middle attacks,” Hudson said, adding that Marlinspike’s presentation should be a “wake-up call for better security and management of PKI and SSL”.

NCP Engineering also released a white paper at Black Hat discussing “endemic vulnerabilities” in SSL, and by extension, SSL VPNs, which organisations often use to secure remote connections to the corporate severs. Enders said organisations should not just rely on SSL alone, but should layer it with IPSec to cover security weaknesses present in both technologies.

Qualys researchers also looked at how many sites were using HTTP Strict Transport Security, which defends against cookie-forcing attacks and Extended Validation SSL certificates in conjunction with standard SSL. The numbers were disheartening, as only 80 sites used HSTS and nine used EV SSL, Courtot said.

Fahmida Y Rashid eWEEK USA 2014. Ziff Davis Enterprise Inc. All Rights Reserved.

Share
Published by
Fahmida Y Rashid eWEEK USA 2014. Ziff Davis Enterprise Inc. All Rights Reserved.

Recent Posts

Craig Wright Sentenced For Contempt Of Court

Suspended prison sentence for Craig Wright for “flagrant breach” of court order, after his false…

3 days ago

El Salvador To Sell Or Discontinue Bitcoin Wallet, After IMF Deal

Cash-strapped south American country agrees to sell or discontinue its national Bitcoin wallet after signing…

3 days ago

UK’s ICO Labels Google ‘Irresponsible’ For Tracking Change

Google's change will allow advertisers to track customers' digital “fingerprints”, but UK data protection watchdog…

3 days ago

EU Publishes iOS Interoperability Plans

European Commission publishes preliminary instructions to Apple on how to open up iOS to rivals,…

3 days ago

Momeni Convicted In Bob Lee Murder

San Francisco jury finds Nima Momeni guilty of second-degree murder of Cash App founder Bob…

3 days ago