LastPass Password Service Patches Cross-Site Scripting Flaw

Published: Mar 2, 2011
Updated: Feb 2, 2021
3 minute read
eWeek のコンテンツおよび製品のおすすめは、編集上の独立性を保っています。パートナーへのリンクをクリックすると、当社が報酬を得る場合があります。 詳細を見る

Despite the convenience of a cloud-based password management service, a security researcher warned that putting passwords in the cloud may not be the best idea after all.

After the Gawker breach revealed the number of people reusing passwords across multiple sites, there was renewed interest in using password management applications such as KeePass and LastPass.

Instead of writing down all the passwords for each Website and program on a Post-It or saving it as a text file on the computer, the services allow users to enter the login credentials and secure them with a strong master password.

The user logs into the LastPass account and clicks on which site to log into, and the LastPass browser plug-in handles the actual login process using the stored credentials. However, there was a cross-site scripting flaw in LastPass that allowed attackers to see the user’s e-mail address, password reminder information, the list of Websites associated with the user and login history for each site, said Mike Cardwell, a United Kingdom-based security researcher. The login history included sites logged into, time and dates of the login attempt, and the originating IP address, he said.

While he didn’t achieve “the holy grail” to grab passwords, “I’m convinced it can be done,” he said.

Cardwell notified LastPass of the vulnerability, which fixed the flaw within three hours, according to the LastPass blog. The problem was “with our testing procedure for this particular case,” the company said. While “disappointed” at missing the case, the company was confident the resulting fixes will “lead to an even stronger product in the near term.”

The company claimed no one has successfully exploited the flaw “beyond the person who found it,” and no client data was impacted. The flaw could have been exploited only if the user visited a malicious site set up to exploit the flaw while still logged into LastPass, the company wrote.

LastPass customers should “still be very concerned,” Cardwell said. “I believe this is ultimately a problem with their architecture and something which could easily happen again in future,” he said.

The company addressed some of Cardwell’s concerns, such as implementing HSTS (HTTP Strict Transport Security) protocol to ensure Chrome and Firefox will maintain the SSL connection as long as the user is on a LastPass page. Without HSTS, it was possible for a man-in-the-middle attack to create a fake lastpass.com page and trick the browser into fetching it by using an iframe, Cardwell said.

Advertisement

LastPass was implementing “something very similar” to CSP (Content Security Policy), the company said. Developed by Mozilla, CSP allows Web designers and administrators to control how content is displayed on the site. CSP is a “big step forward” in defending against this kind of attack, according to the company.

The company also implemented X Frame Options, which would make an attack like this more difficult to exploit as “it makes it impossible” for the LastPass pages to be embedded in another page using an iFrame.

Despite having closed the security hole, concerned users can stay safe by logging out of LastPass before heading over to a site with questionable or adult-related content, LastPass suggested.

“Perhaps it’s just inherently dangerous to outsource your password management to a third party,” Cardwell said.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

TechnologyAdvice が所有・運営しています。 © 2026 TechnologyAdvice. 無断転載を禁じます

広告主に関する開示:このサイトに掲載されている製品の一部は、TechnologyAdvice が報酬を受け取っている企業のものです。この報酬は、製品がこのサイトのどこにどのように表示されるか(表示される順序など)に影響する場合があります。TechnologyAdvice は、市場で入手可能なすべての企業やすべての種類の製品を掲載しているわけではありません。