Slashdot Mirror


Dropbox Authentication: Insecure By Design

An anonymous reader writes "Dropbox can be very useful, but you might be a little surprised to learn that by copying one file from a computer running the application, an attacker can access and download all of your files without any obvious signs of compromise. Normal remediation steps after a compromise such as password rotation, system re-image, etc will not prevent continued access to the compromised Dropbox. Derek Newton, a security researcher that published this finding yesterday, discusses the security implications of this by-design security authentication method on his blog."

168 comments

  1. Duh? by zachriggle · · Score: 2, Informative

    If your local machine is accessed by an untrustworthy party and they get your shared secret/API token/whatever, they can impersonate you. ALSO: Applications store your login information locally when you request that they save your login information!!! News at eleven.

    1. Re:Duh? by Anonymous Coward · · Score: 0

      No kidding. If someone breaks into your computer and steals your config file, they'll have access to the files on your computer from which they stole the file from! Oh noes!

    2. Re:Duh? by Anonymous Coward · · Score: 0

      Not having a way to either expire/change/revoke it or notice that something is wrong (as in attacker changed password quicker) would be news - and the summary makes it look like it is the case.

      Actually, you do have possibility to revoke compromised host_id.

    3. Re:Duh? by meloneg · · Score: 4, Interesting

      But, according to the summary up there, this one survives password changes. That's really the gotcha. It sounds like they are using something similar to the SSH authentication keys. http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1

      But, they really need to implement a way to reset the key files and force you to restart the authentication cycle.

    4. Re:Duh? by Anonymous Coward · · Score: 0

      I think the author was trying to express that compromising one device allows access to every dropbox folder on every device associated with that account. If I understand the article correctly, this also means that a compromised device can be used to gain access to shared folders from non-compromised devices/accounts.

    5. Re:Duh? by Anonymous Coward · · Score: 0

      It's called permissions. Run Dropbox as an unprivileged user and only allow it access to a certain files/folders. When you want to send a particular file/folder, give Dropbox permissions to access only that resource, and then remove all access when the action is complete.

    6. Re:Duh? by OverlordQ · · Score: 2

      Did you even RTFS?

      Once you're compromised, it's permanent, you cant change your password, you can't reformat, etc. Regardless of what they steal, changing your credentials though available means should lock them out.

      --
      Your hair look like poop, Bob! - Wanker.
    7. Re:Duh? by oscartheduck · · Score: 1

      I always assumed they were using an S3 backend, in which case it'd be the S3 public/secret key combination that wasn't being updated. There's an API to regenerate the key, but I know dropbox encrypts all of your files. I had always assumed that the simplest way to do that securely would be using the S3 secret key. If that's what they did, then regenerating the keys would become less trivial.

      --
      How to use coral cache: http://slashdot.org.nyud.net:8090/~oscartheduck
    8. Re:Duh? by zachriggle · · Score: 2

      If I steal your SSH key, and then you change your password, I can still access your box.

      The only difference here is that you're no longer in control of the effective authorized_hosts file, Dropbox is. Yes, they should regenerate the key every time you change your password.

      The article's hysteria seems to be much more about the file, rather than the fact that a password change doesn't change your API key / secret key / etc.

    9. Re:Duh? by Carik · · Score: 1

      At least few months ago, that wasn't possible, at least with the Windows client. You had to install the client as an admin, and it was immediately installed for every user, with the same login/password combination. No per-user config at all.

      That may very well have changed, but that's how it was when I looked at it.

    10. Re:Duh? by Anonymous Coward · · Score: 0

      But, they really need to implement a way to reset the key files and force you to restart the authentication cycle.

      If I go to the Dropbox webpage I can see a list of my authorized computers/devices, with the option to unlink individual computers/devices. TFA doesn't mention if unlinking a computer from that page invalidates the copied key or not.

      If it doesn't, it is a bug. If it does, it is no worse than the case with SSH authentication keys.

    11. Re:Duh? by Carnildo · · Score: 1

      Did you read the article? What Dropbox does is the equivalent of authenticating using only a username -- with no password, and no way of changing your username. Once your account is compromised, it is compromised forever.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    12. Re:Duh? by hoggoth · · Score: 5, Informative

      Then they did it wrong.
      Truecrypt encrypts your data with a key. This key is encrypted with ANOTHER key (your password). You can change your password and it will reencrypt the encrypted key, without having to reencrypt all of your data.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    13. Re:Duh? by masterwit · · Score: 1

      They use an SSL protocol I do believe (I do understand SSH uses SSL essentially internals, just no messy certificates).

      Your point is still perfectly applicable.

      This is why my online data is stored on a low pay-per-month server using SSH (and UNIX commands)... with sub-accounts I use for access. That way I can login as my own pseudo-root top level on a different key on a machine I consider more secure... but my netbook/etc. actively uses the sub account.

      In addition having a paper trail (credit card) with my name I get the added advantage of putting my name behind the access to the account so I can be properly identified as the account holder. (I use rsync.net, they have a pretty good service over there...) Encryption of files that are important with a password is always a good idea too... plus archiving saves space and md5 files are a good way to ensure proper transfers.

      Long story short a system is only as secure as the user wants it to be and as it is fundamentally designed... If I had a Dropbox acct I would be fine because I knew what I was getting.

      --
      We should start a new Slashdot and return control to the geeks. It actually wouldn't be that hard to get some users to
    14. Re:Duh? by Anonymous Coward · · Score: 0

      Did you read the article? What Dropbox does is the equivalent of authenticating using only a username -- with no password, and no way of changing your username. Once your account is compromised, it is compromised forever.

      Wow, hysterical and misleading much? The clear message here is that if your account is already compromised, the data an attacker already has access to can be read from your dropbox backup -- DUH!

    15. Re:Duh? by Richard_at_work · · Score: 1

      Unlink the affected computer through the Dropbox website (accounts -> My Computers -> Unlink), relink the affected computer and the token is changed, the "attacker" is locked out.

    16. Re:Duh? by Richard_at_work · · Score: 1

      What Dropbox is doing is saving an authentication credential after initial authentication and reusing it - no different to a website storing a cookie that tells the website you are logged in.

    17. Re:Duh? by Anonymous Coward · · Score: 0

      I do understand SSH uses SSL essentially internals, just no messy certificates

      Not even close.

    18. Re:Duh? by aaarrrgggh · · Score: 1

      Isn't this a fundamental flaw of WebDAV? You authenticate a user, but an authenticated user's permissions are generally cumbersome to enforce.

    19. Re:Duh? by KingMotley · · Score: 1

      Did you read the article? Unlink the computer and re-add it if you suspect you have been compromised.

    20. Re:Duh? by Firehed · · Score: 1

      No kidding. It's very easy to unlink computers from your account - https://www.dropbox.com/account#manage (when you're logged in, of course). It even tells you the last activity from that system. However, it will not destroy the local copies of the file, which would be a good option to provide when unlinking systems - a remote wipe of sorts.

      At least if an attacker starts modifying your files, it has file history to revert to an uncompromised version, if it helps. And OS X systems at least also let you use growl notifications when files are added, changed, or removed (not sure if Win/Linux have something similar).

      They probably could do better with notifications overall though. When dealing with (potentially) sensitive data, it's a good idea to email users when that info has changed - email addresses or credit cards added to or deleted from account, new system added to sync rotation, etc. Password reset notifications should go out to all emails linked to the account just in case. It's infrequent enough that I'd tolerate the spam for the extra peace of mind.

      --
      How are sites slashdotted when nobody reads TFAs?
    21. Re:Duh? by Stupendoussteve · · Score: 1

      This issue is just the host_id, which is different on every machine. Removing the machine from the list of devices on Dropbox's website will revoke access with that host_id, without affecting other machines. The password is completely separate and apparently only used for generating/retrieving a host_id.

    22. Re:Duh? by mysidia · · Score: 1

      Login.

      Go to https://www.dropbox.com/account#manage

      Click 'unlink' computer.

      The OP is bullshit. If you can't bother yourself to read the docs and understand that you need to unlink a computer to disconnect it, then it's user error.

      Just because Dropbox doesn't conform to someone's ID that a "change of password" should inconveniently force the user to manually go to each of their computers and set it up all over again, does not mean that Dropbox is insecure.

      Now, if the computers you set Dropbox up on are in secure, that's a whole different story, and not Dropbox's fault.

    23. Re:Duh? by mysidia · · Score: 1

      I always assumed they were using an S3 backend, in which case it'd be the S3 public/secret key combination that wasn't being updated.

      No. I believe they are using an S3 backend, but your computer doesn't touch it --- your computer talks to Dropbox's computers, and only Dropbox's computers have any S3 keys.

      Otherwise, you would have to signup for an Amazon AWS account to use Dropbox, and that's not happening

      Personally, I would be much happier if they did allow you to use your own S3 account... then you could download the software yourself (for a one-time-fee), and then pay only Amazon, and the only ongoing service is the storage, not a third-provider middleman like Dropbox that charges many more times a month than the equivalent cost for Amazon S3 services.

    24. Re:Duh? by mysidia · · Score: 1

      The only difference here is that you're no longer in control of the effective authorized_hosts file, Dropbox is. Yes, they should regenerate the key every time you change your password.

      How would you feel as an Ubuntu developer if someone wrote a blog article declaring that Ubuntu is insecure by design, because the "passwd" command does not automatically delete any authorized_keys files for the target user, when the password is changed?

      Wrong. You are in control of it. No Dropbox should not forcibly change the key (and force you to disconnect all your computers), just because you changed your login credentials.

      However, I feel it could be beneficial for them to offer you a 'checkbox' enabling you to do so with a password change, as a convenience.

      If you want to disconnect all your old systems, you can do so very easily through the web interface.

      Accordingly, the original article states:

      After some testing (modification of data within the config table, etc) it became clear that the Dropbox client uses only the host_id to authenticate. Here’s the problem: the config.db file is completely portable and is *not* tied to the system in any way. This means that if you gain access to a person’s config.db file (or just the host_id), you gain complete access to the person’s Dropbox until such time that the person removes the host from the list of linked devices via the Dropbox web interface.

    25. Re:Duh? by fak3r · · Score: 1

      Right, but if they did that all the keys on all your saved systems (and files?) would need the keys rotated; how would that be handled? This is an issue I'm coming across in one of my projects, and it's a similar problem.

    26. Re:Duh? by X0563511 · · Score: 1

      ... doing preciously nothing, if someone happens to have that first key... because they don't NEED your key to decrypt the data if they have that already.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    27. Re:Duh? by Anonymous Coward · · Score: 0

      Read the article again. Your account is NOT compromised forever; you can remove (unlink) the offending machine manually.

    28. Re:Duh? by masterwit · · Score: 1

      Clearly a paraphrase. I didn't even discuss encryption, session keys, etc. This was meant more as a musing and less as an insight to the inner workings. I am no expert, I would be stupid for saying so, but there is clearly more than what I put in parenthesis.

      (I guess that is why you posted AC...) Whatever I do not reply to AC's more than one reply deep... if you would like to call me an idiot properly please sign-in next time.

      --
      We should start a new Slashdot and return control to the geeks. It actually wouldn't be that hard to get some users to
    29. Re:Duh? by Anonymous Coward · · Score: 0

      What Dropbox is doing is saving an authentication credential after initial authentication and reusing it - no different to a website storing a cookie that tells the website you are logged in.

      Except those cookies are not stored indefinitely (or at least shouldn't be). They expire after a short time, unless we tell it not to -- which is why we don't check the "keep me logged in forever" checkbox. Dropbox apparently uses the same file indefinitely, and doesn't change it even if you change the password.

  2. What about Ubuntu One? by josgeluk · · Score: 3, Interesting

    Ubuntu One is a similar service, running native on Ubuntu systems. I wonder whether that has the same built-in vulnerability.

    1. Re:What about Ubuntu One? by Anonymous Coward · · Score: 0

      SPAAAAM!

      Drop some more Canonicals why don't ya?

    2. Re:What about Ubuntu One? by Dr_Barnowl · · Score: 5, Informative

      Ubuntu One uses OAuth, which should have a sensible means of expiring tokens.

      And seeing the sibling poster - obligatory extra SPAAAAM! Ahem... U1 is currently cheaper than Dropbox, being a buck fifty per GB per year, rather than the 2 bucks per GB that Dropbox charge, and you can get extra storage in smaller increments, so if you need 60GB you'll only need to shell out $90 per year for 3x20GB packs, not $200 for the 100GB account on Dropbox. The downside is that the service isn't quite as good as Dropbox ; their Windows client is less mature than their Linux client, it doesn't AFAICT have LAN syncing, or delta compression. The upside is that you could view it as supporting something important to you, if that has value in your personal catalogue. And it's cheaper for the same volume of storage.

    3. Re:What about Ubuntu One? by Anonymous Coward · · Score: 0

      Yo dawg, I herd you liek Canonical so I put an Ubuntu in your Ubuntu so you can spin your cueb while you spinnan your cueb!

    4. Re:What about Ubuntu One? by TubeSteak · · Score: 1

      Ubuntu One uses OAuth, which should have a sensible means of expiring tokens.

      DropBox should have a sensible means of controlling access as well, but it doesn't.
      As the old adage goes: trust, but verify.

      --
      [Fuck Beta]
      o0t!
    5. Re:What about Ubuntu One? by michield · · Score: 1

      price is eventually irrelevant. I'd happily pay for something that works. I've been using Dropbox for quite some time now, and still on the free version, managed to keep my usage down to the free limits. And, it works. That is, on an Ubuntu Lucid system, syncing with my wife on a mac.

      When it launched (quite some time ago), I checked out the U1 service and had loads of authentication problems, and dropped it. So, this article made me check again. It's not obvious how to use it, and the iPhone App still doesn't authenticate well, or basically is a mess (opens Safari and all that). And I'm not the average computer user.

      Ok, dropbox has to sort out some auth issues, and I won't put sensitive stuff on it, but if you like it or not, it works a dream, also on Ubuntu, which I think is a major plus. If Ubuntu One wants to compete in this field, they really need to sort our their QA and stop launching things before it's ready.

      Main thing I don't like about Dropbox is not being able to read OpenOffice documents on the iPhone.

      --
      The surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. BW.
    6. Re:What about Ubuntu One? by QuantumRiff · · Score: 1

      I really wanted to like Ubuntu One. I was even okay with the crappy windows client, but I need to use several distributions of Linux. I couldn't get it to install at all on CentOS, or other derived OS's..

      --

      What are we going to do tonight Brain?
  3. Slashdotted before the comments even started? by Anonymous Coward · · Score: 0

    Ugh.

    1. Re:Slashdotted before the comments even started? by hedwards · · Score: 3, Insightful

      I'm always shocked by how much load is put on a server by people not reading the article.

  4. /.'ed by just_another_sean · · Score: 3, Informative

    Site seems to be /.'ed already. Here is another site mirroring the original blog.

    --
    Creationist Textbook Stickers Declared Unconstitutional by CowboyNeal
    1. Re:/.'ed by clang_jangle · · Score: 4, Informative
      FTFA (emphasis in bold added)

      Dropbox Insecure by Design
      / by / Mr. P / on / April 08, 2011 @ 4:54 am
      References
      Sources:
      http://dereknewton.com/2011/04/dropbox-authentication-static-host-ids/
      Security Engineer Derek Newton recently discovered a vulnerability in Dropbox's authentication mechanism, whilst looking for forensic traces left behind by such software. Derek discovered that in one of Dropbox's SQLite Database files, config.db, there are 3 fields contained:

      Email
      Dropbox_Path
      Host_ID


      After testing (by modification of existing fields), Derek was able to determine that the only field that affected authentication in any way, was host_id. Any other fields did not affect the way in which the machine was able to communicate or sync files with Dropbox. After some more testing, Derek was able to prove that by taking the config.db, and installing it/copying it to another machine, that he was instantly able to access/sync the existing files of that users' Dropbox. In doing so, he was not once prompted for authentication or credentials, and the user was not notified of any access to their files.

      This carries a lot of implications, as stated by Derek, as it allows Malware to quickly and quietly steal access to your files, without you knowing. It also allows malicious users to copy over a very small file in order to steal many larger files later, rather than copying over all the files at the time of theft. Malware would also be able to be persistently installed in the Dropbox files, so that when a user reformats their computer, it is simply synced and run all over again.

      A user would need to delete/revoke the affected device ID from their Dropbox after infection to prevent continued access.

      Note this requires an attacker to already have access to the config.db, i.e. one must have physical access to the machine and already be logged in as a privileged user or owner of the config.db.

      --
      Caveat Utilitor
    2. Re:/.'ed by Anonymous Coward · · Score: 1

      No, troll -- the public service provided is not the evil act you seek to criticize. Nothing wrong with doing a good deed and attaching one's name to it. Please stop the uneducated, shame-based trolling.

    3. Re:/.'ed by BitZtream · · Score: 1

      Note this requires an attacker to already have access to the config.db, i.e. one must have physical access to the machine and already be logged in as a privileged user or owner of the config.db.

      Or have network access to the machine and a way to copy config.db off of it.

      Unlike say ... using the OS X keychain facility or the Window Protected Storage facilities for storing information in such a way that it requires authentication to get the data out.

      As a domain admin, I can pull data from any dropbox account for any user on my network just by grabbing their config.db.

      I can't change their network password without them noticing a change, which would prevent me from gaining access to their dropbox config if it was stored securely, but I can steal their dropbox credentials since it is essentially storing the password in plan text, except ... its not even a password that becomes useless if changed, its nothing more than a unique ID that tells dropbox what users to sync with. Its just a unique username that once known can be used at will forever, no authentication required.

      Its like using your social security number for authentication.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    4. Re:/.'ed by clang_jangle · · Score: 1

      As a domain admin, I can pull data from any dropbox account for any user on my network just by grabbing their config.db.

      I understand that, and yes it should be fixed -- but it's a far cry from being as scary as some people are making it sound. I'm glad I use rsync though. :)

      --
      Caveat Utilitor
    5. Re:/.'ed by njvack · · Score: 1

      Note this requires an attacker to already have access to the config.db, i.e. one must have physical access to the machine and already be logged in as a privileged user or owner of the config.db.

      You don't need physical access, just the ability to run code as the logged-in user. So any number of browser driveby attacks or emailed trojans should be able to grant an attacker irrevocable access to your dropbox.

      If true, this is actually a big deal.

    6. Re:/.'ed by clang_jangle · · Score: 1

      My mistake regarding the statement "one must have physical access to the machine". But one must be able to execute code on the machine as the user in question, i.e. the account would have to be already compromised.

      --
      Caveat Utilitor
    7. Re:/.'ed by KingMotley · · Score: 1

      Not irrevocable. You just need to deauthorize the affected host, then readd it back again.

    8. Re:/.'ed by JimFive · · Score: 5, Interesting

      Note this requires an attacker to already have access to the config.db, i.e. one must have physical access to the machine and already be logged in as a privileged user or owner of the config.db.

      No it doesn't. It requires an attacker to create their own config.db file and guess the hostID. How long is that HostID and how is it generated?
      --
      JimFive

      --
      Please stop using the word theory when you mean hypothesis.
    9. Re:/.'ed by narcc · · Score: 1

      No problem at all ... millions of iPad users who rely on dropbox are totally capable of understanding what that means.

    10. Re:/.'ed by KingMotley · · Score: 1

      Still doesn't make it "insecure by design", nor once compromised gives them irrevocable access.

      The headline, and summary are both misleading and sensationalist that are factually incorrect.

      I agree it would probably be best if after you change your password that it then asks if you want to unlink all the computers as well, with some informative box on why you may want to do so, but that is hardly the huge deal the article portrays it to be.

  5. Dropbox at work by Anonymous Coward · · Score: 0

    I guess we won't be using Dropbox at work anymore.

    1. Re:Dropbox at work by SimplyGeek · · Score: 1

      This could be a big problem for me as well. In my startup, we'll continue using Dropbox as it's proven invaluable for a company of 50 spread across US, Canada, China, and Australia. But for companies that are more conservative, and especially for large firms with more to lose, this is a potential deal breaker. The way I mitigate risk for my company is to keep all sensitive documents like legal filings, tax docs, etc off of Dropbox and in another system that's less accessible.

    2. Re:Dropbox at work by Anonymous Coward · · Score: 0

      Why did you in the first place? I always thought Dropbox was the semi-equivalent to using one of those startup websites to remember your online passwords. i.e., insane.

      At least with the inefficiency and snooping of Google Docs or (ugh) SkyDrive you could be reasonably certain that an outside attacker isn't going to gain access. Google moreso.

      It's kind of sad that in the age of web services, Google & Amazon seem to be the only companies who truly understand security.

    3. Re:Dropbox at work by paultwang · · Score: 1

      Remedy for company owned computers/laptops:
      Run Dropbox on an account that's not accessible by users. You can set it to run at startup via Scheduled Tasks or crontab. For added security, encrypt those db files containing the authentication keys with EFS (Windows only). The Dropbox folder will then be made accessible to authorized users via filesystem permissions. Unfortunately, this won't scale well for multiple Dropboxes per computer.

      One should not use Dropbox for sensitive documents anyway, because:
      1. Dropbox staff can read file names
      2. They can obtain the decryption key if they really wanted. (If you can reset your password, they obviously can, too.)

    4. Re:Dropbox at work by Anonymous Coward · · Score: 0

      AC, why be a tool? SimplyGeek just needs to stop being cheap and host their own fileserver...and that can of worms.

    5. Re:Dropbox at work by Anonymous Coward · · Score: 0

      Wow. Solid planning at your "startup". What was the name again? I'd like to avoid any contact with your "startup"...

      I'm sure he'd be glad to avoid you as well, as you come across as: 1) lazy, 2) unproductive, 3) uncreative, and 4) useless to society in general.

  6. Re:Dropbox by Hijacked+Public · · Score: 5, Insightful

    There is a significant difference between a service I find useful for embedding photos on web forums, or similar things, and one I'd store my plain text tax forms on.

    --
    "Sacrifice for the good of The State" - The State
  7. Re:Dropbox by Anonymous Coward · · Score: 3, Funny

    Agreed! I upload my tax forms to Pastebin and keep my photos securely locked away.

  8. Re:Dropbox by Wrath0fb0b · · Score: 3, Insightful

    Replying to undue accidental 'redundant' instead of 'informative'.

    Doh. Also poster is right. Different data have different security requirements -- think about that for a while.

  9. Full Article (site is /.'ed) by Anonymous Coward · · Score: 1

    --- snip ---

    For the past several days I have been focused on understanding the inner workings of several of the popular file synchronization tools with the purpose of finding useful forensics-related artifacts that may be left on a system as a result of using these tools. Given the prevalence of Dropbox, I decided that it would be one of the first synchronization tools that I would analyze, and while working to better understand it I came across some interesting security related findings. The basis for this finding has actually been briefly discussed in a number of forum posts in Dropbox’s official forum (here and here), but it doesn’t quite seem that people understand the significance of the way Dropbox is handling authentication. So, I’m taking a brief break in my forensics-artifacts research, to try to shed some light about what appears to be going on from an authentication standpoint and the significant security implications that the present implementation of Dropbox brings to the table.

    To fully understand the security implications, you need to understand how Dropbox works (for those of you that aren’t familiar with what Dropbox is – a brief feature primer can be found on their official website). Dropbox’s primary feature is the ability to sync files across systems and devices that you own, automatically. In order to support this syncing process, a client (the Dropbox client) is installed on a system that you wish to participate in this synchronization. At the end of the installation process the user is prompted to enter their Dropbox credentials (or create a new account) and then the Dropbox folder on your local system syncs up with the Dropbox “cloud.” The client runs constantly looking for new changes locally in your designated Dropbox folder and/or in the cloud and syncs as required; there are versions that support a number of operating systems (Windows, Mac, and Linux) as well as a number of portable devices (iOS, Android, etc). However, given my research is focusing on the use of Dropbox on a Windows system, the information I’ll be providing is Windows specific (but should be applicable on any platform).

    Under Windows, Dropbox stores configuration data, file/directory listings, hashes, etc in a number of SQLite database files located in %APPDATA%\Dropbox. We’re going to focus on the primary database relating to the client configuration: config.db. Opening config.db with your favorite SQLite DB tool will show you that there is only one table contained in the database (config) with a number of rows, which the Dropbox client references to get its settings. I’m going to focus on the following rows of interest:
    email: this is the account holder’s email address. Surprisingly, this does not appear to be used as part of the authentication process and can be changed to any value (formatted like an email address) without any ill-effects.
    dropbox_path: defines where the root of Dropbox’s synchronized folder is on the system that the client is running on.
    host_id: assigned to the system after initial authentication is performed, post-install. Does not appear to change over time.

    After some testing (modification of data within the config table, etc) it became clear that the Dropbox client uses only the host_id to authenticate. Here’s the problem: the config.db file is completely portable and is *not* tied to the system in any way. This means that if you gain access to a person’s config.db file (or just the host_id), you gain complete access to the person’s Dropbox until such time that the person removes the host from the list of linked devices via the Dropbox web interface. Taking the config.db file, copying it onto another system (you may need to modify the dropbox_path, to a valid path), and then starting the Dropbox client immediately joins that system into the synchronization group without notifying the authorized user, prompting for credentials, or

    1. Re:Full Article (site is /.'ed) by Hatta · · Score: 1

      Dropboxâ(TM)s primary feature is the ability to sync files across systems and devices that you own, automatically.

      I use rsync for this. It can use SSH as the transport, so it should be as secure as SSH. Why would someone need to involve a third party for such a simple feature?

      --
      Give me Classic Slashdot or give me death!
    2. Re:Full Article (site is /.'ed) by Carik · · Score: 1

      Because most users don't have a handy server, or know how to use rsync.

      Yeah, yeah, you're a linux user and you don't care. But the average "power user" with a desktop and a laptop doesn't have a spare server in their closet, and isn't running a system that makes rsync easy. They're running Windows, and there isn't an automated system to sync the two computers. They want to just start up whichever computer they're in front of and know their files will be there. That's what Dropbox does.

    3. Re:Full Article (site is /.'ed) by Dr_Barnowl · · Score: 1

      Because they don't grok / can't be bothered / can't see the value.

      Setting up regular SSH / rsync backup is fiddly, and not even easy on Windows. Installing Dropbox is easy on every OS I've tried it on.

      Couple that with a full backup history for files (even for every version of a file), syncing between machines across the LAN (faster than uploading files via the web), and a hosted solution for backups that you don't have to administer ; it's a lot more capable than just SSH / rsync. Although obviously not as secure. But let's face it, no-one with both a clue about security, and the need to maintain it, are uploading files to Dropbox. Unless they're using it as DeadDropBox to trade encrypted files with their fellow spooks.

    4. Re:Full Article (site is /.'ed) by npsimons · · Score: 0

      I use rsync for this. It can use SSH as the transport, so it should be as secure as SSH. Why would someone need to involve a third party for such a simple feature?

      Because they are lazy, ignorant, or just too distracted by teh shiny. A friend of mine (a Mac user) tried to convince me to use dropbox, and was flabbergasted when I told him I already synced my personal files on my phone (N900), laptop (Debian) and web/email server (Debian again) via git. Personally, I use git for the same thing you use rsync for; gives me versioning and pretty damn good merging; uses ssh by default.

    5. Re:Full Article (site is /.'ed) by hoggoth · · Score: 2

      Ignore all those other replies that say, basically, "because they are too stupid to use leet things like rsync."

      Dropbox offers a few advantages over rsync:
      It runs in real time and detects changed files, syncing them instantly without polling the filesystem. (using services like inotify).
      It has iPhone and Android clients.
      It's easy to install and doesn't carry other requirements like cygwin, and doesn't break in all kinds of odd corner cases like rsync on windows does.
      It offers central management of which computers sync which files and folders (well, SugarSync does this much better).
      It offers a web based view of your synced files for when you don't have your own computer. (This can be a plus or minus depending on your viewpoint).
      It keeps backup copies of your deleted and changed files.

      I'm not denigrating rsync here, it is a fantastic program that runs flawlessly and efficiently. It just doesn't get along with Windows very well and not with iPhone or Android at all.
      I had set up a great system using Unison (similar to rsync) on multiple machines, running from cron or Scheduled Tasks twice a day so an OpenSolaris system with ZFS that made snapshots of the filesystems twice a day. I dare you to have your grandmother set that up.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    6. Re:Full Article (site is /.'ed) by Carik · · Score: 1

      No, I've described a power user. People who describe themselves as power users mostly haven't used rsync. They mostly use only their own OS, and it's usually Windows. They know how to change basic system settings, set up network file sharing, and keep a backup on an external drive. They understand that they shouldn't run as an admin for daily use, and use a limited account for most things. They more or less understand what a secure password is, and they set up their computer so that it's more secure than it was when it came from the factory. They use encryption and good passwords on their wireless router. They're a power user, but they're not a sysadmin. They're not hackers, they're not IT professionals, and they're not experts. They're users who know a little more than most.

      Referring to them as "lusers" just makes them think you're an idiot, and keeps them from respecting your opinions. Treating them respectfully means they'll accept training from you in how to keep their systems more secure. It's not as much fun as mocking them, but it sure cuts down on the number of compromised machines.

    7. Re:Full Article (site is /.'ed) by Anonymous Coward · · Score: 0

      Ok, so in other words it's a term windows users apply to themselves for the purpose of ego glorification?

    8. Re:Full Article (site is /.'ed) by Anonymous Coward · · Score: 0

      I think they're actually required to know the keyboard shortcuts for cut, copy, and paste, plus have to prove mastery of the 3 finger salute.

    9. Re:Full Article (site is /.'ed) by clang_jangle · · Score: 1

      I assure you, my lusers have no clue that I consider them "lusers", even the 1337z don't know I feel that way. It's called being a professional. And here on slashdot, where none of them know who I am, it's called "blowing off steam" (or "letting one's hair down", etc). HTH!

      --
      Caveat Utilitor
    10. Re:Full Article (site is /.'ed) by KingMotley · · Score: 1

      For starters?

      Because rsync doesn't always work well with firewalls and NATs.
      Because rsync doesn't work if one (or more) systems are on only sporadically.
      Because rsync doesn't work if you have multiple devices to sync and you don't have a "master" device.
      Because rsync doesn't allow you to see your data from any device that can access the web.
      Because rsync doesn't sync nearly immediately (24/7) to all devices (if they are connected) automatically.
      Because rsync doesn't allow you to see previous versions of your files.
      Because rsync uses more bandwidth as it has to send each device the file(s).
      Because rsync is a PITA if you have files that change on multiple devices and you want the latest one on each without having to deal with lots of change conflicts.

      and on and on...

    11. Re:Full Article (site is /.'ed) by lwsimon · · Score: 1

      I use Dropbox for a lot of my vector files. It's very effective - versioning is dead easy, it syncs instantly across three notebooks, a desktop, and my iPhone, and I don't have to think about it.

      That said, when I needed to store some financial documents there, I put them inside a Truecrypt archive. Even assuming Dropbox is 100% safe end-to-end, there are still multiple ends to deal with here, one or more of which is outside my physical control at just about all times.

      --
      Learn about Photography Basics.
    12. Re:Full Article (site is /.'ed) by Carik · · Score: 1

      No... there's just a difference between a power user and an expert. I know plenty of people -- and support their computers -- who know a lot about their particular system, and the tools that they need to use daily. They know nothing about any other system, and don't need to.

      If the only options you see are "idiot" and "expert", you're missing a lot of ground in the middle...

    13. Re:Full Article (site is /.'ed) by Anonymous Coward · · Score: 0

      Oh, it's the carrot! I get it now. So you apply it like this, eh?
       
      "Good 'Power User'. Good boy! 'Power User' wanna treat? Good Boy! Say, 'Power User', there's a new security issue I need you to help me watch for..."

    14. Re:Full Article (site is /.'ed) by Rhodri+Mawr · · Score: 1

      No automated system to sync two Windows computers? That's simply not true.
      Ever heard of Sync Toy? http://www.microsoft.com/downloads/en/details.aspx?familyid=c26efa36-98e0-4ee9-a7c5-98d0592d8c52&displaylang=en

    15. Re:Full Article (site is /.'ed) by hacker · · Score: 1

      Dropbox offers a few advantages over rsync: It runs in real time and detects changed files, syncing them instantly without polling the filesystem. (using services like inotify). It has iPhone and Android clients. It's easy to install and doesn't carry other requirements like cygwin, and doesn't break in all kinds of odd corner cases like rsync on windows does. It offers central management of which computers sync which files and folders (well, SugarSync does this much better). It offers a web based view of your synced files for when you don't have your own computer. (This can be a plus or minus depending on your viewpoint). It keeps backup copies of your deleted and changed files.

      You do know that Dropbox is already using rsync, right? Look at the code... it's available. They wrapped some service logic around it, but it's rsync (librsync) under the hood.

  10. Surprised? by Lord+Ender · · Score: 1

    If you're surprised by this, you're an idiot. Drop box saves your password to a file (obviously: you don't type it every time you boot). Files can be copied. By the rules of logic, then, your password can be copied. Quite simple, and not at all surprising.

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    1. Re:Surprised? by Rebelgecko · · Score: 2

      For me, the surprising part is that someone can access your dropbox after you've changed your password. I guess I'm an idiot then.

      --
      CATS/Diebold '08- All your vote are belong to us!
    2. Re:Surprised? by Hatta · · Score: 1

      Saving passwords to a file is only a problem if your permissions are fucked up. I can keep my SSH credentials in a file, and no one else can copy it because it's set to mode 700.

      --
      Give me Classic Slashdot or give me death!
    3. Re:Surprised? by HomelessInLaJolla · · Score: 1

      If you're surprised by this then you must be new. Enormous service built from an amalgamation of tools with a history of obscure insecurities on top of transport technologies riddled with obscure insecurities is found to have obscure insecurities. This has been going on since before the registry.

      --
      the NPG electrode was replaced with carbon blac
    4. Re:Surprised? by Anonymous Coward · · Score: 0

      600 should be fine, you probably don't want to execute your private key

    5. Re:Surprised? by vegiVamp · · Score: 1

      Which falls over in cases where someone else is root/administrator on the box you have an account on.

      GP's view is a bit incomplete in any case, though - it's not the password that's saved, but an authentication token that is independent of password changes.

      --
      What a depressingly stupid machine.
    6. Re:Surprised? by Anonymous Coward · · Score: 0

      If you're surprised by this, you're an idiot. Drop box saves your password to a file (obviously: you don't type it every time you boot). Files can be copied. By the rules of logic, then, your password can be copied. Quite simple, and not at all surprising.

      It is surprising. One would expect the file containing the password to be encrypted such that it is usable only on the computer it was created on. However, as the article states, the file, in this case config.db, is completely portable. In other words, it can be move from one computer to another, keeping the ability to have meaningful data extracted from it. The main issue is that such security that would lock the file to your Dropbox installation is quite easy to do; keys made from your computer's configuration are simple, effective, and widely used in many other programs.

  11. Truecrypt by JerLasVegas · · Score: 1

    Truecrypt works really nicely with dropbox, even if an attacker gets your Truecrypt file, they would still need the password to get the files inside of it.

    1. Re:Truecrypt by Binestar · · Score: 1

      I prefer individual file encryption for my dropbox files. I use AxCrypt http://www.axantum.com/axcrypt/ which has right click integration to encrypt files.

      --
      Do you Gentoo!?
    2. Re:Truecrypt by breakfastpirate · · Score: 1

      If the attacker has access to your computer (as is the case in this article), your TrueCrypt keys stored in memory are already hosed. The only way TrueCrypt will help you in this case is if the attacker is accessing the files remotely somehow and has no access to RAM.

    3. Re:Truecrypt by Anonymous Coward · · Score: 0

      Yes, if you are not concerned enough about security to remember to un-mount your volumes when you are away from the computer, then you should not be using Truecrypt in the first place. The reason putting your sensitive files in a truecrypt volume is a good idea, especially in a cloud storage system, is that it protects your *DATA* from this kind of bone-headed security leak.

    4. Re:Truecrypt by Anonymous Coward · · Score: 0

      If the attacker has access to your computer, why would you care about a dropbox security flaw? All of your information is already hosed.

    5. Re:Truecrypt by JerLasVegas · · Score: 1

      Especially considering dropbox is in the cloud. I have a Truecrypt container in dropbox but i always unmount it when not in use otherwise i can't really open it somewhere else and preserve the integrity.

    6. Re:Truecrypt by maxume · · Score: 1

      TrueCrypt would help in the event that physical access was gained by stealing the hardware (assuming some exercise of diligence. i.e., the volume was not left open while the hardware was unattended).

      --
      Nerd rage is the funniest rage.
    7. Re:Truecrypt by Anonymous Coward · · Score: 0

      No, it's not. That's the whole point of Truecrypt. As long as you didn't do anything stupid like write the password down anywhere, nobody can access your data regardless of what they have access to. You can send out a truecrypt volume with free AOL CDs and nobody will ever have a clue what is inside.

    8. Re:Truecrypt by Anonymous Coward · · Score: 0

      Do you also prefer entering the password every time you open a file, rather than once per session? Not to mention giving away information to an attacker for doing nothing: file names, sizes, and directory structure... I can't imagine how this is more convenient or offers any practical security benefit over Truecrypt. Please enlighten me?

    9. Re:Truecrypt by JerLasVegas · · Score: 1

      How many home burglars know how to scan the memory contents of the computer for the information necessary to get the password?

    10. Re:Truecrypt by maxume · · Score: 1

      Yeah, that's why I use TrueCrypt, so that the information I store in it isn't available if someone steals my computer.

      But we are playing imagine what the attacker is able to do, not guess what the likely attacker will do.

      --
      Nerd rage is the funniest rage.
    11. Re:Truecrypt by metacell · · Score: 1

      For one thing, using a disk image (e.g a TrueCrypt volume) prevents individual files from being synced. If you make changes on one computer, then changes on another computer before the modified disk image has been downloaded to it, you get conflicting copies of the disk image, and have to sort out manually which individual files you modified.

    12. Re:Truecrypt by gfilion · · Score: 1

      I tried using truecrypt with dropbox, but I wasn't able to open a truecrypt volume on windows that had been created on Mac (and vice versa). Is it me who screwed up something or is it a limitation of the software?

    13. Re:Truecrypt by Anonymous Coward · · Score: 0

      I tried using truecrypt with dropbox, but I wasn't able to open a truecrypt volume on windows that had been created on Mac (and vice versa). Is it me who screwed up something or is it a limitation of the software?

      You must have screwed something up, this works just fine.. :)

  12. Re:Dropbox by grub · · Score: 1

    Actually I find Dropbox to be very useful for things like ebooks and technical PDFs.

    I can access them from my desktop, iPhone, iPad, wherever.

    --
    Trolling is a art,
  13. Dropbox is, indeed, useful ... by Tigger's+Pet · · Score: 1

    ... but I would never put anything on there that I wouldn't be just as happy nailing to my local telegraph pole for everybody to read. If it's in the 'cloud' then it cannot possibly be considered to be secure as somebody has physical access to the server holding my data. If I really want to put something 'personal' on DropBox, Ubuntu One or whatever, then I encrypt it, archive it with a password, then upload it as something else innocuous-looking.
    Anyone who actually believes there's any level of security to something that's 'out there' then they need their head examining.

  14. Store encrypted data in Dropbox by ixe13 · · Score: 1

    I only store encrypted data (TrueCrypt containers) in my Dropbox. I'm glad the extra work proved usefull...

    1. Re:Store encrypted data in Dropbox by Anonymous Coward · · Score: 0

      Same here. Get my file, I don't really care.

  15. Re:Dropbox by HikingStick · · Score: 2

    Let's face it. Many times, it doesn't matter whether you or I find such sites useful. What matters is whether or not senior executives, marketing partners, or "the guy who signs the checks" finds them useful. The rest of us are just screwed until we can convince management otherwise.

    --
    I use irony whenever I can, but my shirts are still wrinkled...
  16. Additional coverage... by Anonymous Coward · · Score: 0

    Can be found here: http://thenextweb.com/industry/2011/04/08/dropbox-security-hole-could-let-others-access-your-files/

  17. Well, then by gman003 · · Score: 1

    I guess it's a good thing I only used Dropbox to share a bunch of images that were being deleted by other image hosts. I'd been meaning to use it for actual backups (since I don't have any real backup systems), but maybe I shouldn't. Guess I'll have to RTFA to see how bad this is.

    1. Re:Well, then by suutar · · Score: 1

      If you're looking for backup rather than cross-system synchronization, CrashPlan seems to have a lot of the same niceties as DropBox (automatically detecting changed files) but offers a bit more control on the encryption of the backed up data (so just getting to download your backupset doesn't necessarily mean being able to read it).

  18. What's different? by Anonymous Coward · · Score: 0

    How is this different than any other service which allows you to store your password locally? Whether it's called host_id or username & password realy doesn't matter....

    Note that I am all against using proprietary services like Dropbox, but I fail to see how this has any security implications. If your computer is compromised, all your credentials, saved on disk or not, are compromised anyway. Whether the file is called .netrc or .dropbox.sqlite doesn't matter that much.

    1. Re:What's different? by Desler · · Score: 2

      Because when you change your password on other services the attacker won't continue to be able to access your account?

  19. Not what I think of... by esme · · Score: 2

    This isn't what I think of when I think of "insecure by design". This term is usually applied to things like DRM, where it would be impossible, or very very difficult, to fix, and would require completely redesigning how the access control system works.

    In this case, dropbox writes a sqlite db after authenticating, and then doesn't check to make sure that it's valid later on. So you can alter the db file to access other people's accounts without having to re-authenticate.

    It would be trivial for dropbox to update their app to at least check that the sqlite db is internally-consistent, and require re-auth if not. So there is no giant design issue preventing them from fixing this.

    1. Re:Not what I think of... by Anonymous Coward · · Score: 1

      Any session based system has this same issue. Dropbox just has insanely long lived sessions. Unlike most places, however, they do provide the ability to de-authorize a session. System compromised? De-authorize your computer and re-login. The fact is you don't have to rotate your password to defeat this problem, just log out (de authorize you computer) from time to time. You should do this with any website really.

  20. Re:Dropbox by lgw · · Score: 4, Funny

    Actually I find Dropbox to be very useful for things like ebooks and technical PDFs.

    I can access them from my desktop, iPhone, iPad, wherever.

    And so can I! Thanks for putting those up there, by the way, it doesn't work if everyone leeches.

    --
    Socialism: a lie told by totalitarians and believed by fools.
  21. Pastebin by HomelessInLaJolla · · Score: 1

    Pastebin is the absolutely most outstandingly wonderful idea in the world. I love pastebin.

    --
    the NPG electrode was replaced with carbon blac
    1. Re:Pastebin by WNight · · Score: 1

      But terrorists can use it to pass code snippets! We're shutting it down tomorrow (or, leaving it up and putting everyone who uses it on the no-fly list.)

  22. Dropbox isn't for secure transfers by greymond · · Score: 1

    Dropbox is ideal for transferring large amounts of things like photos, pdfs, artwork and in general non-sensitive information that just needs to get from person A to person B without having to rely/setup/use FTP or email.

    At my last job we mostly used it to transfer/archive press releases in Word and PDF format as well as some design files so that our other departments (not always in the same building or city) could grab them easily. Nothing with sensitive information was ever stored on it.

  23. Truecrypt by Anonymous Coward · · Score: 0

    I use dropbox extensively, and I decided up front to assume that any plaintext file may as well be public (particularly since I share the account with my wife). Anything I'm not comfortable being public I keep in a truecrypt volume.

  24. Too bad! by Anonymous Coward · · Score: 0

    Too bad they're not using SSL encryption like other well made software is *cough*

  25. Short Version of the Article by Minwee · · Score: 0

    (Embriefened or the attention span impaired)

    "I have spent the last few minutes investigating the inner workings of Dropbox, and it suddenly occurred to me that if someone else gets hold of your usename and password then they could log in and download all of your files.

    "And, like, your login information is all stored on your computer 'n' stuff. So this is bad, right?"

    1. Re:Short Version of the Article by Anonymous Coward · · Score: 0

      Congrats, you get five stars failing to recognise a single one of the author's points, including:

      Additionally, the host_id is still valid even after the user changes their Dropbox password (thus a standard remediation step of changing credentials does not resolve this issue).

      Yet another reason for Slashdotters to RTFA.

    2. Re:Short Version of the Article by Carnildo · · Score: 5, Informative

      That's a gross oversimplification. A better one-line summary is:

      "If someone gets access to your Dropbox credentials, they have permanent access to your files, even if you change your password."

      That last bit is what the article is about.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    3. Re:Short Version of the Article by Richard_at_work · · Score: 1

      Not permanent - unlink and relink the computer, the token changes.

    4. Re:Short Version of the Article by Anonymous Coward · · Score: 0

      so how are you going to unlink someone elses computer

    5. Re:Short Version of the Article by rich_r · · Score: 1

      By logging into your dropbox account through this new invention they're calling the 'world wide web', whereupon you can unlink/relink the machine from which the credentials were stolen. This renders the lost certificate useless.

  26. Dropbox Support Forum Thread by monk · · Score: 1

    If this is true, then the problem described in the article is a design flaw. Changing your credentials should block access by any box which does not have the new credentials.

    Here'st he discusson in the Dropbox Support Forum http://forums.dropbox.com/topic.php?id=36146

    --
    [-- Trust the Monkey --]
    1. Re:Dropbox Support Forum Thread by e9th · · Score: 1
      Interesting. The one forum response from a Dropbox guy was not very satisfying.

      we don't agree with the assertion that there is a security flaw -- dropbox is a perfectly safe place to store sensitive data. the article claims that an attacker would be able to gain access to a user's dropbox account if they are able to get physical access to the user's computer. in reality, at the point an attacker has physical access to a computer, the security battle is already lost. the research claims dropbox is insecure because it is possible to copy authentication information straight from the user's hard drive. this 'flaw' exists with any service that uses cookies for authentication (practically every web service :) cookies are stored on your hard drive and are susceptible to all the same attacks mentioned by the research (i.e. a virus could steal your cookies and gain access to all your web services).

      there are measures that can be taken to make it more difficult (though not impossible) to gain access to the authentication cookie which we'll consider in the future. that said, dropbox isn't any less secure than other web service.

  27. The problem... by 0x537461746943 · · Score: 1

    "Nothing with sensitive information was ever stored on it"... That you know of. Once people start using it in a business environment they (or others that learn about it) are likely to use it for more sensitive files in a crunch. It is inevitable.

  28. Same issue as copied ~/.ssh by neiras · · Score: 1

    The Dropbox issue is the same as what would occur if someone stole your .ssh directory full of un-encrypted private keys.

    With Dropbox, unlinking the 'machine' from your account will disable the attacker's access. With SSH, revoking access on any servers the comprimised public key had access to would do the same.

    Of course, SSH allows you to encrypt your private keys (you'd have to enter a password before using them). Dropbox doesn't want to inconvenience you with password dialogs, so they just rely on obscurity. How's that for a security mindset?

    They could have hashed their token with some hardware-specific values and system configuration details so that the client could force a re-keying if it found itself on a different host. Still not a solution to the hole - a hacked client could still get access, but we might not be reading this if they had taken that step.

    Really, they can't close this hole without encrypting their local settings and asking users for a password when Dropbox starts up.

    Dropbox users: unlink and relink your machines from your Dropbox account regularly until some future version of Dropbox starts asking you for a password on startup. You should really stop using Dropbox for anything private if other people regularly have access to your machine, or you run an OS that is virus bait...

    Virus writers: You now have a nice, easy target: Dropbox settings may give you access you to gold! Or a pile of pr0n!

    It is amazing to me that these proprietary storage clients don't just use SSH for their authentication and transport. Really, guys, this is a solved problem. Reinventing the wheel gets you nothing but bad press.

    1. Re:Same issue as copied ~/.ssh by wrygrin · · Score: 1

      unlinking, and relinking when necessary, is a good suggestion. it's nice to have a useful workaround out of a slashdot discussion!

      (no, i'm not being snarky - i hadn't even looked at the unlink option since i first started using dropbox, since i never use it on any but my own computers.)

      thanks!

      (it's also amazing to me that they don't use SSH / SSL.)

      --
      everything leaks
    2. Re:Same issue as copied ~/.ssh by neiras · · Score: 1

      unlinking, and relinking when necessary, is a good suggestion ... thanks!

      You're welcome.

      (it's also amazing to me that they don't use SSH / SSL.)

      Dropbox does use SSL encryption for transfers, which protects against man-in-the-middle attacks during transfer (as long as their certificate provider isn't compromised). Their issue is their badly-thought-out private-token authentication system - SSH public key authentication would solve that for them.

  29. the Cloud is ... by Tumbleweed · · Score: 3, Insightful

    Someone else's computer

    1. Re:the Cloud is ... by zerro · · Score: 1

      more like: the cloud is.... you don't know where the cloud is

  30. Re:Dropbox by RobDude · · Score: 2

    I'm a big fan of Dropbox.

    Having said that, long before I read this, I realized that anything I put into my Dropbox folder would be visible by *OTHER PEOPLE*. After all, the data is being stored on a server that I don't own. In this day and age, anything that is out of your hands is likely to be stolen, sold or lost by whatever company you are dealing with.

    Dropbox is great for storing crap that is either....

    1.) Not personal (my collection of .mp3s - I don't care if the world can access them)
    2.) Personal, but trivial (pictures of my home renovations....I don't care if the world can access them)
    3.) Encrypted

    If you want to store your important tax documents or scans of your birth certificate or whatever else; cool. Go for it. But you'd better encrypt the heck out of it.

  31. Re:Dropbox by Anonymous Coward · · Score: 0

    What the fuck are you talking about?

  32. Re:Dropbox by MachDelta · · Score: 0

    If you DON'T find cloud services useful... you must have a very nice basement you enjoy spending all of your time in.

  33. Re:Dropbox by tehniobium · · Score: 1

    Also: schoolwork. If you wanna read my mathematics, then - quite frankly - I would be honored to let you!

    --
    No kitty, this is my pot pie!
  34. That's not "by design" by bradley13 · · Score: 1

    TFA is surprisingly kind. This isn't "insecure by design" - this is a whopping giant security hole that you can drive a truck through, with no justification whatsoever. Surprising, since Dropbox's implementation seems to be otherwise pretty robust and well-implemented.

    I certainly hope and trust that they will fix this idiocy in the next release!

    --
    Enjoy life! This is not a dress rehearsal.
  35. Dropbox IPS sig from EmergingThreats by AgentPhunk · · Score: 2

    My IPS sensors went berzerk today after I updated my sigs from Emergingthreats.net:

    emerging-all.rules:alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"ET POLICY Dropbox.com Offsite File Backup in Use"; flow:established,to_server; uricontent:"/subscribe?host_int="; uricontent:"&ns_map="; uricontent:"&ts="; content:".dropbox.com|0d 0a|"; classtype:policy-violation; sid:2012647; rev:2;)

    I was shocked how many users have this installed and running on their systems. Now I just need to convince management why I should change this rule to BLOCK. TFA and the /. comments will sure come in handy.

    Kudos to the folks at ET and the community that writes these sigs. Simply amazing.

    1. Re:Dropbox IPS sig from EmergingThreats by slyborg · · Score: 3, Insightful

      Maybe you should find out what people are using the DB access for first...at my company, we use it as a working drop for communicating external documents with outside vendors, more convenient than shoveling everything around via email.

      My old joke about the ideal network for the network admin is a single computer in a bank vault, unplugged. It's unfortunate that the job basically is all downside in terms of incidents, but ultimately the job should still be to *facilitate* employee access to company data, customers, and each other. Otherwise you are actively impeding the profitability of your company.

    2. Re:Dropbox IPS sig from EmergingThreats by Anonymous Coward · · Score: 1

      I just need to convince management why I should change this rule to BLOCK

      Why? It's more secure than me copying all my stuff to my thumb drive and accidentally dropping it somewhere. Or the guy down the hall who burns himself a copy to take home then throws away the CD/DVD the next day.

    3. Re:Dropbox IPS sig from EmergingThreats by AgentPhunk · · Score: 1

      I'm sorry, I know this is /., but did you not RTFA?

      I completely understand the concept of facilitating employee communications - we have a solution for that - secure file transfer (SFT), which we implemented after our FTP server was hacked and sensitive files went god-knows-where. SFT is quantifiable, controlled, and far more secure than something like dropbox, especially when you consider the issues described in TFA.

      And I disagree with the anon poster below who compares this to flash drives or CD's. Again, anybody, anywhere, can access dropbox files once you get the .db file. At least with removable media you still need physical access.

      And I did look at a few user's systems - large MP3 collections and yes, sensitive business documents.

      I am trying to PROTECT the profitability of my company.

    4. Re:Dropbox IPS sig from EmergingThreats by Anonymous Coward · · Score: 0

      If employee's shouldn't be taking sensitive business documents home, by all means change this to block. All your employer is doing by adding a block rule is preventing them from using the Dropbox client to make it convenient, doesn't stop them from logging in via the web and uploading said documents so they'll have them on their home computer.

      I personally try to solve issues like this by first coming up with an alternate solution that the company provides and controls... then cutting access to the outside service for a year or so to promote adoption.

      In the end it's all about trust, do you trust Dropbox or Hotmail or Gmail or any cloud service to have access to your confidential business documents. If you don't... I highly suggest limiting access to all of those and more, because if you don't provide a decent alternative to Dropbox, you'll find your documents going in those directions instead.

    5. Re:Dropbox IPS sig from EmergingThreats by QuantumRiff · · Score: 1

      Your communicating with clients via DropBox? Why not use a "real" solution like http://www.accellion.com/ that supports things like actual user authentication, SSL transfers (that will work through any firewall) and can notify you when its updated? not to mention much, much bigger file sizes?

      --

      What are we going to do tonight Brain?
    6. Re:Dropbox IPS sig from EmergingThreats by asvravi · · Score: 1

      Couldn't have said it better. IT today is only focused on security and ease of administration, forgetting about the flip side of facilitating business at the same time.

  36. Re:Dropbox by Penguinisto · · Score: 1

    Seriously, Dude? I wouldn't exactly let our A/P or HR departments start storing their docs on Dropbox just yet (and you can forget about the R&D kids doing that).

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
  37. Excellent... by Anonymous Coward · · Score: 0

    I now no longer feel like a paranoid weenie for using openssh and unison.

  38. Re:Dropbox by Anonymous Coward · · Score: 0

    I go for option 3 for any sensitive data; I store passwords on Dropbox for example. As for encrypting the heck out of it... you make it sound like a chore. "gpg -e" and I'm done :)

  39. Periodical Unlinks? by Anonymous Coward · · Score: 0

    With Google 2-Step auth or any online banking auth, even if you mark a machine as trusted, every so often, the machine loses that status. Perhaps machines should simply be unlinked by Dropbox every 30 days?

    I know this means, once again, that Dropbox would have to make the change, but it would be a thought too.

  40. Why did they bother? by dbIII · · Score: 1

    With all this modern technology they reinvented FTP very very badly. It takes very special people to be able to muck things up that much and have the audacity to release such a failure on the world when a 30+ year old program does it better. I'm not saying FTP is good, it isn't (and should be replaced where possible), I'm saying these guys missed a very easy goal.

    1. Re:Why did they bother? by snookums · · Score: 1

      You think Dropbox is less secure than a protocol which sends passwords and data in clear text, and reads passwords in clear text from a .netrc file? Please.

      The only mistake Dropbox have made is not re-keying on password change. Linux doesn't re-key your SSH authorized_keys file when you change your password either.

      --
      Be careful. People in masks cannot be trusted.
    2. Re:Why did they bother? by dbIII · · Score: 1

      You think Dropbox is less secure than a protocol which sends passwords and data in clear text

      In this case where changing the passwords doesn't keep them out - most definitely. That's a very nasty failure. So yes, FTP is insecure so that makes dropbox a truly epic failure.

      As for SSH with keys - if you are doing it with keys you know you are doing it with keys and you know to change the key if you don't want to let people in. The epic failure of dropbox is it looks like you have a mechanism to change access when you don't. Was there any QA testing at all?

  41. get me my war dialer... by locust · · Score: 2

    Given that the id is the only token used to get data, what in the drop box system, prevents me from iterating across the id space, until I find some really juicy data?

    1. Re:get me my war dialer... by Anonymous Coward · · Score: 0

      Because it's a 128-bit id which is rather a large space to try to produce a collision in. For the record, this should be equally hard as producing a SHA-1 collision, if Dropbox has a secure hostid generation mechanism. But that has no guarantees either.

    2. Re:get me my war dialer... by beaviz · · Score: 1

      Given that the id is the only token used to get data, what in the drop box system, prevents me from iterating across the id space, until I find some really juicy data?

      Chuck Norris.

    3. Re:get me my war dialer... by tildeslash · · Score: 1

      Too many combinations + the server *might* be programmed with pattern recognition to prevent brute force e.g. If he sees one IP address try a different key every second, he's probably going to temp-ban him after the first few.

    4. Re:get me my war dialer... by Anonymous Coward · · Score: 1

      Given that the id is the only token used to get data, what in the drop box system, prevents me from iterating across the id space, until I find some really juicy data?

      This would very much depend on how densely distributed a valid host_id is. Now, I examined the config.db and the host_id entry is a 32 alphanumeric characters (within the hexadecimal range of [0-9] and [a-f]) long. That is 16^32 distinct ids which is approximately 3.4e38. Now, even if you allow for an overly generous estimate of each dropbox user owning on average 100 different host_ids, that still gives a very sparse distribution of valid host_id within the feasible set. My guess would be that a war dialer-like brute force strategy would most likely not yield anything within your lifetime.

      As for resetting your host_id, my experimentation with config.db shows me that a new host_id can be easily acquired by de-linking then re-linking your computer to dropbox. If you are worried about this so-called "security flaw", which to me looks more like someone discovering that dropbox uses a token-like mechanism for passwordless authentication (which is what dropbox app NEEDS to do for it to be useful at all to anyone) - no different than https or, as someone else mentioned earlier, ssh public key authentication - then just periodically schedule de-linking then re-linking your computer from dropbox server. Probably a good habit to get into.

  42. FTP uses TLS (ssl) by Anonymous Coward · · Score: 0

    FTP uses TLS (ssl)

    1. Re:FTP uses TLS (ssl) by R.Mo_Robert · · Score: 1

      Only if you use FTPS (or, of course, run FTP over SSH yourself--difficult because it uses so many ports--or use SFTP, which is technically unrelated but superficially similar).

      --
      R.Mo
  43. Yawn! by guybrush3pwood · · Score: 2

    but you might be a little surprised to learn that

    Do you know what would surprise me? If someone came along and told me "I've built an unbreakable, un-hackable, totally trustworthy system. Here's the proof. It's free. Enjoy." Anything short of that can only aspire to be amusing, but never surprising.

    --
    Perhaps I'm trolling, perhaps I'm not.
  44. Re:Dropbox by laurelraven · · Score: 1

    The issue isn't would you let them...if they get it in their heads that this would be easier, they very well might just do it regardless of what you say.

    At least for me, the people who I worry about doing things like that are also the ones who sign my checks. There is little to nothing I could do to stop them even if I ever did find out they were using something like this. Most non-IT people don't want to care about IT security if it gets in their way.

    --
    RTFA is Known to the State of California to cause cancer.
  45. Dropbox Authentication Tokens by Anonymous Coward · · Score: 0

    Dropbox provides on its website under the 'Account' tab a way of listing each of the machines that you've allowed to connect to your account, giving you a way to invalidate their access, look at the time, ip address and geoip of the access, and the OS of the machine with that authentication token.

    The most sinister security problem is that someone who accesses your machine without your knowledge can steal you credentials, in exactly the same manner they can steal the passwords out of your firefox, the passwords out of your email client, and install a fake root CA in your certificate stores so they can inspect all your SSL traffic and get your banking authentication details.

    So it turns out that the entire computer you're using is insecure by design because an attacker can steal your credentials without your knowledge. In other news, the sky is blue and if an attacker on an unsecured street mugs you, they can take all your money and use it to buy crack.

    I think this article is mostly hyperbole, but also an interesting condensation of what's wrong with security on the Internet as it stands at the moment, if your edge device is compromised, you have to do significantly more than change a password or two. You have to be vigilant in checking on websites the last locations you logged in from, to check for any patterns that would indicate an attacker accessing your accounts without your knowledge.

    These kinds of one-time, per-device, invalidatable authentication tokens are useful, because you can invalidate a specific token from a web interface, as well as track it's use. Perhaps we should encourage more applications to be more like dropbox, instead of, perhaps, requiring that we store our passwords in an easy to download and open password database.

  46. host_id generation algorithm? by ei4anb · · Score: 1

    The host_id seems to be base64 representation of 32 hex digits. I hope it's just random but if it's an MD5 hash of something related to the host PC then the real security problem will be when someone figures out what the something is.

  47. Re:Dropbox by cyp43r · · Score: 1

    Or at least a nice house.

  48. Only seen dropbox... by Anonymous Coward · · Score: 0

    Personally, I'd only ever seen dropbox used to store TV shows, movies, and warez. Which, doesn't trouble anyone too much who gets it. I didn't realize anyone would try to use it for anything secure.

  49. Can someone actually confirm this ? by Anonymous Coward · · Score: 0

    Running DropBox 0.7.110 on Windows 7 32 bit. DropBox thinks its up to date.

    There is no file called 'config.db' in %AppData%\Dropbox. There is a 'dropbox.db' and a 'host.db'.

    The file 'dropbox.db' is a SQLite3 database, and there is a table called 'config' in it with some interesting settings.
    sqlite3.exe complains about 'host.db' (Error: file is encrypted or is not a database).

    Maybe the assessment is in regards to an older, less secure version ?

  50. Confirmed by Anonymous Coward · · Score: 0

    Just my $.02 worth . . .

    I just tried this, and it works flawlessly. It was harder to install Dropbox than exploit it, considering the installer crashed on me once through (it was on Windows, ok?).

    I didn't even sync the second computer to ANY account to begin with. All I did was copy the file over, start Dropbox, and bingo, it started syncing. And just to confirm the password concern, I went to the Dropbox website on the original computer and changed the password (on the original computer, so that there's no chance that Dropbox could have changed it for me as a convenience). Threw a few more files in, and away it went. Synced right up with the second computer. I never typed a single username or password on the second computer. I also deleted a couple files just to be sure.

    So ya, it works. Now, for most people on /., who know not to click on "Pamela Anderson Nude.jpg.exe" that came in email, this probably isn't too big a deal, but for the users that we have to support . . . well, I had to say "STOP" four or five times to keep my boss from opening a virus that came in email -- and that was on the computer we use to do ALL of our organisation's finances. Fortunately, the antivirus program (that I keep up to date because I'm the only one who knows how) did its job and kept it from running.