Feeds

LinkedIn cookie vulnerable, claims researcher

The user is gone but the session lingers on

Providing a secure and efficient Helpdesk

Fresh from an IPO in which its bankers sent millions to pre-float insiders by low-balling its price, LinkedIn has been accused of slack security by Indian security Rishi Narang.

Narang, who published his analysis of LinkedIn cookie handling here, identified two cookie handling problems: an SSL cookie is used without having its “secure” flag set, and cookies are available after the end of authenticated sessions.

In the first case, all cookies, including JSESSIONID and LEO_AUTH_TOKEN, are held in plain text. Since “these cookies appear to contain session information”, these cookies could be captured over an established LinkedIn session.

Session expiration is, perhaps, a more serious problem. Since the cookies remain on a machine after a session is ended, a malicious user could use someone else’s cookies to re-establish a connection to their account (an obvious example being accessing a workmate’s computer).

When Narang identified this flaw, the cookies were set to persist for a year rather than being deleted at the termination of a session. “As a result, in just 15 minutes, I was successfully able to access multiple active accounts that belong to individuals from different global locations,” he wrote.

Narang says that the cookie can only be forced to expire if a user changes the LinkedIn password, logs out, and logs in with the new password.

LinkedIn has responded that it is addressing the cookie lifetime, which it will reduce to 90 days, and recommends using encrypted WiFi networks or VPNs for access. Its response, in full and unedited, goes like this:

“Whether you are on LinkedIn or any other site, it's always a good idea to choose trusted and encrypted wifi networks or VPNs whenever possible.

“If one isn't available, we already support SSL for logins and other sensitive web pages. Now, we are accelerating our existing plans to extend that SSL support across the entire site on an opt-in basis. And, we are going to reduce the lifespan of the cookies in question from 12 months to 90 days.

“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.” ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
SMASH the Bash bug! Apple and Red Hat scramble for patch batches
'Applying multiple security updates is extremely difficult'
Shellshock: 'Larger scale attack' on its way, warn securo-bods
Not just web servers under threat - though TENS of THOUSANDS have been hit
Apple's new iPhone 6 vulnerable to last year's TouchID fingerprint hack
But unsophisticated thieves need not attempt this trick
Hackers thrash Bash Shellshock bug: World races to cover hole
Update your gear now to avoid early attacks hitting the web
Oracle SHELLSHOCKER - data titan lists unpatchables
Database kingpin lists 32 products that can't be patched (yet) as GNU fixes second vuln
Who.is does the Harlem Shake
Blame it on LOLing XSS terroristas
Researchers tell black hats: 'YOU'RE SOOO PREDICTABLE'
Want to register that domain? We're way ahead of you.
Stunned by Shellshock Bash bug? Patch all you can – or be punished
UK data watchdog rolls up its sleeves, polishes truncheon
prev story

Whitepapers

A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.