How secure is Opera Unite?

By Scott M. Fulton, III | Published June 16, 2009, 2:15 PM

The notion of converting conceivably every computer on the planet into a server is certainly not new. But almost everywhere the notion has been attempted, it's been exploited. Microsoft's ActiveX experiment in the mid-1990s was a notorious example of collective inattention to the entire topic of exploitability, though it's not the only one. Since then, millions have willingly made their Web clients into P2P servers in the interest of file-sharing -- authorized or not -- while some of them unknowingly exposed their file systems to the whole planet, exposing sensitive government documents in the process.

History tells us to be skeptical when any software purports to enable ordinary computers, especially Web browsers, to act as servers. This morning, Opera Software unveiled its Unite server networking protocols, which consist of extensions to the existing widget system for its Opera Web browser. The objective there is to enable any Opera user to be a server in her own right, potentially serving up blogs, tweets, and files. Opera's own bank of servers -- which are already put to use providing pre-rendered pages for its "Turbo" feature -- serves as an intermediate proxy for all communications between Unite-enabled browsers.

Within minutes of our posting the news, Betanews readers expressed their time-tempered skepticism. As user zealus.com put it, "A united botnet owners community has released their statement where they thank Opera developers for making their lives extremely easy."

As an organization that professes strict adherence to international standards, Opera should be mindful of standards supporters' desire for strict security. But an initial read of the company's extended APIs has left us with a number of questions -- which we put to Opera Software directly this morning. The biggest question we have is whether the Unite APIs expose users' file systems...a question that still merits asking even after having read the documentation. As the security model indicates, no Unite user has access to any other user's file system directly. Instead, each user acting as a server builds a virtual picture of its file system on Opera's proxy servers, generating so-called mount points to which clients are given access.

"The FileSystem class...is a virtual file system," reads Opera's documentation for the Unite File I/O API. "In order to actually use it, you'll need to add directories from your actual file system as mount points to the virtual file system."

For now, all Unite-capable programs are Opera widgets. So whether a widget exposes mount points depends on whether its config.xml file includes a reference to the File I/O API. That reference includes a parameter that points, by default, to a designated shared folder. This may be some folder that the Unite server widget designates as being safe to share with others. However, certain shortcuts have been provided for this parameter -- shortcuts which lead directly to system folders in Windows, Mac, and Linux, according to Opera's documentation. These folder hints are home, pictures, music, video, documents, downloads, and desktop. According to Opera, home may point to a Windows user's "My Documents" or "Documents" directory; and documents may point to an Ubuntu Linux user's "Documents" directory. The File I/O parameter may include any or all of these folder hints.

Now, the Unite widget only exposes what this parameter permits the Opera proxy to expose through the virtual file system. However, according to the documentation, the level of access the end user has to that file system is determined by the corresponding level of access in the Unite server's physical file system. And according to a warning in the documentation, the job of securing that system is effectively left up to the developer.

"WARNING: Once mounted, the mount point will be read-write unless the underlying file system defines it to be read-only," the documentation reads. "Be careful to protect your data by controlling how data gets written to them. You should supply some sort of authentication of users who access these directories and be careful to not leave code open to exploitation."

As a spokesperson for Opera told Betanews this afternoon, "Opera Unite conforms to a secure sandbox security model. The services do have read-write privileges to any folders (and sub folders) the user grants access to. This access is restricted only to that folder, and nothing outside the specified folder. Moreover any and all services you download from http://unite.opera.com go through a quality check, done by the [quality assurance team] at Opera."

Whether changes to the virtual file system are always translated by the proxy back to the Unite server wasn't specified in the documentation, though it is clear that deletion is an option, for mount points whose access allows this. Again, the parameter for setting mount points to specific directories, or to shared or system directories, is specified in the Unite widget's config.xml file -- a file typically distributed with Opera widgets, and which may be guessable. Access to the file system by a widget is a major deviation from the existing Opera widget security model, as updated in May 2008.

But the file itself will be shielded from access by the Unite widget or any other widget, as Opera's spokesperson told Betanews. "The config.xml...is hidden away from the Unite protocol and other Web protocols that the browser responds to. It cannot be altered by any unsolicited requests."

Next: Could an Opera user become an unwilling file sharer?

1 | 2 | Next Page →

Comments

View comments by with a score of at least

There are several severe errors in this article:

* The services can not select a folder to share. They can suggest a range of folders, but the users have full control over which folder they want to share.
* The proxy has absolutely nothing to do with the mount points.
* The auth.opera.com authentication server has always been, and still is, secure, using TLS

Score: 1

|

It still seems you need to trust Opera. What if someone there went rogue?

Score: -1

|

I just installed the new Opera Unite and what I think about security is that once again we fall in the same "its up to you" discussion, finally... its up to you to decide whom you send the personal address Unite gives you, on the other hand it comes really handy for those of us with a Laptop, I dont wanna pay for a fixed IP address and I dont know how to setup a VPN anyway, so I just have to call home and tell whoever answers "turn on the PC for me", and I get the access I want to my files, no problem so far. Again it is a matter of personal criteria. It works for me, I can transfer all my music, photos and files in an easy way.

Score: 2

|

All that has been possible for more than a decade now with other services? Are you seriously suggesting it took a browser plug-in in 2009 for you to get remote capability to your laptop?

Score: -1

|

Not really up to you at all, sadly.

The d-bags mentioned earlier can easily snoop, trojan, and worm the information out of your PC without you ever knowing about it. ;)

Score: -1

|

Yes, Firefox and security...
http://my.opera.com/rejz...e-in-firefox-and-chrome

At least Opera does this right...

Score: 0

|

local access to x and you are pretty much compromised, it doesn't matter what OS you use.

Score: 0

|

lock your damn computer when you're not seated in front of it, at least

Score: 0

|

why with this being all of an innovation, you make a first talk of it getting alarmed about security?... you must love Firefox, don't you?

Score: 1

|

its not exactly innovation, the "new" features are just now available within the operas browser using their own service, big deal really... and no avg person will use these features, so i'm at a loss for what opera is trying to accomplish lol

personally i think Mozilla and Microsoft? of all companies are the only ones that 'get it' when it comes to browsers, Mozilla more so of course, but i can see them easily going astray the standards of what a browser should and should not do as well in the future... sadly

Score: -1

|

a web server, in a browser? not that secure lol the fact that its now even being talked about means its less secure

Score: -1

|

PDC 2009: What have we learned this week?

There was the freebie that no one will forget, the heebie-jeebies courtesy of Scott Guthrie, and a teensy bit clearer picture of how this cloud thingie should work.

Live report: Will Google Chrome OS change Linux?

The mysteries of just what Chrome OS is, and how much of an operating system it truly is, may be resolved today.

PDC 2009: Microsoft cares about Web browser performance

The effort to give users of the world's dominant Web browser the impression of quality, is a personal one for the man who leads that battle.

Nokia re-affirms its commitment to Symbian, sort of

Maemo won't necessarily be replacing Symbian in the Nokia N-Series, but that's definitely a place where it will be found.

E-book readers will be in short supply this holiday season

E-readers are hot this year, and a lot of compelling new products have been released, but are there enough electrophoretic displays to go around?

Sony looks to finally open a single storefront for downloads

Sony has had many different download portals for movies, music, e-books, and games, and now it's looking to make a single shop for all of it.

Tuning out the tablet: Time to give the endless speculation a rest

Wide Angle Zoom: Wishing and hoping and thinking and praying....won't put an iTablet on the market.

Five improvements for IT managers in 2010

If businesses are to improve their efficiency for next year, they need to stop and reassess the basic tenets of their job.

AOL's spinoff from Time Warner to shed 2,500 jobs

As AOL moves toward become an independent company again, it will cut nearly a third of its workforce.

Gartner: SMS-based money transfer will be bigger than mobile browsing, search

Gartner issues its predictions for the 10 things our phones will be doing in 2012.

Don't forget to upgrade to Firefox 3.6 beta 3 today

Mozilla has released the latest beta its Firefox 3.6 browser software, just over one week after beta 2.