News Archive (1999-2012) | 2013-current at LinuxGizmos | Current Tech News Portal |    About   

Chrome OS gets hacked via ScratchPad extension

Jul 15, 2011 — by LinuxDevices Staff — from the LinuxDevices Archive — 2 views

In a preview of a demonstration at the upcoming Black Hat security conference, a security researcher has demonstrated how browser extensions can be used to compromise Chrome OS. WhiteHat Security specialist Matt Johansen reported spreading a note containing malicious code via the ScratchPad extension.

The Chrome extension ScratchPad has a wide range of permissions that made it vulnerable to a cross-site scripting attack, Matt Johansen, an application security specialist at WhiteHat Security, said July 14 in a preview of a presentation he will be making at Black Hat.

Johansen did his work on the Google CR-48 Beta laptop released last fall, but said malicious extensions would affect any device running Chrome OS, whether it's the CR-48 or the Chromebook (Acer version pictured at left).

He noted WhiteHat Security was able to "abuse" the Chrome OS "pretty quickly."

Johansen used ScratchPad (right), an extension that allows users to take notes and auto-sync the note files with Google Docs in the "ScratchPad" folder, in his preview. The extension has a "quote-unquote feature" that allowed users to share ScratchPad folders without requesting any user permissions, Johansen said.

In his demonstration, a friend shared a folder containing a note with malicious code, which was then accessible on the CR-48 through the ScratchPad extension. Once the note was opened, the note was able to then steal all his contacts saved in Gmail because he was already logged into Google's services.

Google patched this specific flaw in the ScratchPad extension after being notified by Johansen. He found similar problems in other extensions but did not mention which ones, although promising his listeners that he had a few more "tricks up his sleeve" to reveal at Black Hat.

Applications are turning out to be the most common attack vectors for mobile devices, but on a Web-based operating system like Chrome OS, the attacks will come from extensions, Johansen said. Extensions are applications available from the Google Chrome Web store that run in the browser and allow users to access cloud services. While they are similar to Web browser extensions, Chrome OS extensions are far more powerful.

Similar to mobile apps, extensions rely on permissions to gain access to various capabilities and features. The key difference is that mobile apps require permission from the user to access those features while permissions for the Chrome OS extension are set and defined by the developer, Johansen said.

Noting that the bulk of Chrome OS extensions will be written by independent software developers, extensions represent a "new attack surface," Johansen said. Users now need to worry about the "security mindset" of the development team behind the extension before downloading.

"Security vulnerabilities are bound to be plentiful," Johansen said, calling Chrome OS a "target-rich environment."

Google has been claiming for some time that PCs running on Web-centric Chrome OS are safer than other computers and will reshape the traditional PC industry. Johansen did not say that Chrome OS is insecure in his presentation, carefully noting that the company has done a great job with overall security in the Web-based operating system.

The focus on cloud-based storage and applications means that a majority of threats are automatically eliminated because malware can't be downloaded onto the machine. Chrome OS protects users from the "usual suspects," Johansen said.

Instead of targeting the data stored on the machine's hard drive, malicious attackers will increasingly target applications that send data between the Chrome browser and the cloud service, Johansen said.

Johansen and colleague Kyle Osborn will demonstrate other ways to hack Chrome OS at Black Hat, which will be held Aug. 3-4 in Las Vegas.

Fahmida Y. Rashid is a writer for eWEEK.


This article was originally published on LinuxDevices.com and has been donated to the open source community by QuinStreet Inc. Please visit LinuxToday.com for up-to-date news and articles about Linux and open source.



Comments are closed.