Vulnerabilities / Threats
5/24/2011
01:37 PM
Connect Directly
RSS
E-Mail
50%
50%

LinkedIn Faces Cookie Vulnerabilities

The social networking site is set to reduce the length of time before cookies expire and add HTTPS across its site.

How Firesheep Can Hijack Web Sessions
(click image for larger view)
Slideshow: How Firesheep Can Hijack WebSessions
LinkedIn users' accounts are vulnerable to hijacking, due to the manner in which the social networking site handles its website cookies.

That security warning comes from Rishi Narang, a security consultant at website scanning firm Hackers Locked, who published an analysis of the vulnerability on Saturday.

LinkedIn is much in the news lately, owing to its initial public offering on Thursday, which by the close of the day resulted in the company being valued at $8.9 billion. But is the company paying enough attention to the security of its users?

LinkedIn, like many websites, uses cookies to store, on a PC, session information relating to anyone who uses that PC to access LinkedIn. Such cookies make it easy for users to later access LinkedIn without having to enter a username or password. But according to Narang, LinkedIn needs to handle its cookies better.

All told, there are two cookie-related vulnerabilities, he said. The first stems from LinkedIn SSL cookies not using a secure flag, which means that session credentials are sent in plaintext. As a result, they're susceptible to a man-in-the-middle attack, which could intercept these credentials. Such an attack could be launched from a third-party website by remotely redirecting a user to the HTTPS log-in page for LinkedIn, and watching the relevant credentials being passed back and forth.

A fix, however, is relatively simple: LinkedIn should use the secure flag on any cookies that are used with an HTTPS page, such as the log-in page, said Narang. "If the secure flag is set on a cookie, then browsers will not submit the cookie in any requests that use an unencrypted HTTP connection, thereby preventing the cookie from being trivially intercepted by an attacker monitoring network traffic," he said. "If the secure flag is not set, then the cookie will be transmitted in clear text if the user visits any HTTP URLs within the cookie's scope." Another security improvement would be for LinkedIn to restrict credentials to a specific IP address, as Gmail does. That way, if an attacker stole a credential and attempted to use it from another PC, it wouldn't work.

The second vulnerability, he said, is due to LinkedIn setting its cookies to not expire for one year--an eternity, in website time--and not canceling cookies if a user logs out. "As a result of valid cookies, an attacker can sniff the cookies from [a] clear-text session," as detailed with the prior vulnerability, said Narang. With cookies in hand, an attacker could then authenticate as the other user. "He can then compromise and modify the information available at the user profile page," he said.

Accordingly, this vulnerability rates largely as a nuisance, since LinkedIn doesn't store people's financial information. On the other hand, in the wrong hands, a LinkedIn account hijacking or defacement could be quite embarrassing. Furthermore, intercepting people's LinkedIn credentials is relatively easy--if they're using an unsecured, public Wi-Fi hotspot--by using a tool such as Firesheep.

LinkedIn said it's working on related improvements, but in the short term, recommended users avoid unsecured networks. "Whether you are on LinkedIn or any other site, it's always a good idea to choose trusted and encrypted Wi-Fi networks or VPNs whenever possible," said a LinkedIn spokesperson via email. "If one isn't available, we already support SSL for logins and other sensitive Web pages."

Going forward, he said, LinkedIn plans to support SSL--as in, HTTPS pages--across the entire site. As with Facebook, users will need to opt in. Furthermore, "we are going to reduce the lifespan of the cookies in question from 12 months to 90 days," said the spokesperson.

"LinkedIn takes the privacy and security of our members seriously, while also looking to deliver a great site experience, and we believe these two changes will allow us to strike that balance," he said.

In this new Tech Center report, we profile five database breaches--and extract the lessons to be learned from each. Plus: A rundown of six technologies to reduce your risk. Download it here (registration required).

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
Partner Perspectives
What's This?
In a digital world inundated with advanced security threats, Intel Security seeks to transform how we live and work to keep our information secure. Through hardware and software development, Intel Security delivers robust solutions that integrate security into every layer of every digital device. In combining the security expertise of McAfee with the innovation, performance, and trust of Intel, this vision becomes a reality.

As we rely on technology to enhance our everyday and business life, we must too consider the security of the intellectual property and confidential data that is housed on these devices. As we increase the number of devices we use, we increase the number of gateways and opportunity for security threats. Intel Security takes the “security connected” approach to ensure that every device is secure, and that all security solutions are seamlessly integrated.
Featured Writers
White Papers
Cartoon
Current Issue
Dark Reading's October Tech Digest
Fast data analysis can stymie attacks and strengthen enterprise security. Does your team have the data smarts?
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2012-2413
Published: 2014-10-20
Cross-site scripting (XSS) vulnerability in the ja_purity template for Joomla! 1.5.26 and earlier allows remote attackers to inject arbitrary web script or HTML via the Mod* cookie parameter to html/modules.php.

CVE-2012-5244
Published: 2014-10-20
Multiple SQL injection vulnerabilities in Banana Dance B.2.6 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) return, (2) display, (3) table, or (4) search parameter to functions/suggest.php; (5) the id parameter to functions/widgets.php, (6) the category parameter to...

CVE-2012-5694
Published: 2014-10-20
Multiple SQL injection vulnerabilities in Bulb Security Smartphone Pentest Framework (SPF) before 0.1.3 allow remote attackers to execute arbitrary SQL commands via the (1) agentPhNo, (2) controlPhNo, (3) agentURLPath, (4) agentControlKey, or (5) platformDD1 parameter to frameworkgui/attach2Agents.p...

CVE-2012-5695
Published: 2014-10-20
Multiple cross-site request forgery (CSRF) vulnerabilities in Bulb Security Smartphone Pentest Framework (SPF) 0.1.2 through 0.1.4 allow remote attackers to hijack the authentication of administrators for requests that conduct (1) shell metacharacter or (2) SQL injection attacks or (3) send an SMS m...

CVE-2012-5696
Published: 2014-10-20
Bulb Security Smartphone Pentest Framework (SPF) before 0.1.3 does not properly restrict access to frameworkgui/config, which allows remote attackers to obtain the plaintext database password via a direct request.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Follow Dark Reading editors into the field as they talk with noted experts from the security world.