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: 0

|

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

Score: 0

|

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: 1

|

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: 0

|

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: 0

|

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: 0

|

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

Score: 0

|

Google Chrome 4: Yes, it's fast, but is it usable?

As Betanews readers have responded to our stories about Chrome's JavaScript superiority...Does that mean we'd actually use this browser? Well...

Video: Netflix on PlayStation 3

Netflix has come to the PlayStation 3 via Blu-ray and BD-Live.

Verizon Wireless launches new Android, Chocolate, and ruggedized phones

The lower-priced Eris joins the Droid, while the Chocolate gets a touchscreen and more music playback.

Early sales figures for Windows 7 nicely high, but do we know why?

Fans of triple-digit surges in figures quoted by Betanews will love this one, as it appears Microsoft rediscovered how to pull off a software launch.

Myka announces its latest Linux-based 'net top box'

Myka's ION brings Boxee, XMBC, and much more to HDTVs.

What hath Mac wrought? A remembrance after a quarter-century

The reason there's a Macintosh today is not because of some brilliant flash of engineering genius, but because Apple had the audacity to learn from its mistakes.

Early build of Moblin 2.1 improves connectivity, but not device support

The Linux Foundation's Atom-centric OS yesterday received a major overhaul with the project release of Moblin 2.1 for netbooks and nettops.

The iPhone's China syndrome: Sales of 5,000 and climbing

There's actually a country where Apple's device is not a godsend, where sales can be measured in the dozens.

New European counterpart to FCC will ensure 'a more neutral net'

Late Thursday night, the ruling telecom administrators of the EU's member nations signed away their final authority to a new entity overseen by the EC.

Sophos study suggests Windows 7 UAC's default setting is self-defeating

Without any anti-virus installed, a Sophos test showed, User Account Control was only capable of thwarting just one malware package out of ten samples chosen.

Indiscreet tweet trips awareness of Web SSL vulnerability

A group of high-level security engineers had been making progress on thwarting a low-level threat to the Web, until somebody blurted it all out on Twitter.