Results 1 to 8 of 8

Thread: Security Warning: Users access to each other's home folders!!

  1. #1
    Join Date
    Oct 2005
    Location
    Singapore
    Beans
    151
    Distro
    Ubuntu 10.04 Lucid Lynx

    Exclamation Security Warning: Users access to each other's home folders!!

    I discovered a security lapse in Dapper 6.06. When several user accounts are created, by default, each user has read and write access to all the others' home file folders!!

    Whereas in Breezy 5.10, each user has only read and write to his own folder. Other users' home file folders are not accessible, not even "read" access.

    I wonder if this security gap is a bug, or it's only unique to my laptop set up. I'm using 2.6.15-25-686.

    Any experts out there in the community can shed some light on this security gap or lapse. Thanks.

  2. #2
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Security Warning: Users access to each other's home folders!!

    The permissions seem to me as before.

    Read-only for other users, read-write for the owner.

    This is how it was in Breezy. I don't know how you got it so that others couldn't read each others' folders.

  3. #3
    Join Date
    Oct 2005
    Location
    Singapore
    Beans
    151
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Security Warning: Users access to each other's home folders!!

    Quote Originally Posted by aysiu
    The permissions seem to me as before.

    Read-only for other users, read-write for the owner.

    This is how it was in Breezy. I don't know how you got it so that others couldn't read each others' folders.
    On Breezy 5.10 on my other laptop and desktop, it was each user having only read and write access to his own home folders, no "read" acccess to other users' folders.

  4. #4
    Join Date
    Mar 2005
    Beans
    Hidden!

    Re: Security Warning: Users access to each other's home folders!!

    It's not a bug., it's intentional.

    http://thread.gmane.org/gmane.linux....22/focus=12448
    Quote Originally Posted by Colin Watson
    With the exception of big commercial shell account providers, it is generally
    sensible to assume that multiple users on the same box have some
    connection to one another (on home systems, they'll generally be family
    members; on hobbyist colo systems, they'll be friends; on corporate
    systems, they'll be colleagues), and it's often convenient for them to
    be able to share files with one another without being able to jump
    through hoops. I'd rather not encourage the use of mail for large files.

    I don't buy "information leakage" as a trump card when the alternative
    is making it difficult for (say) me to tell my wife "I haven't had time
    to put those photos up on the web yet, but they're somewhere in my home
    directory if you want to have a look", or for me to debug co-workers'
    .bashrc files when they're having difficulty committing to arch
    archives, or any of a number of other things people do frequently.

  5. #5
    Join Date
    Oct 2005
    Location
    Singapore
    Beans
    151
    Distro
    Ubuntu 10.04 Lucid Lynx

    Exclamation Re: Security Warning: Users access to each other's home folders!!

    Quote Originally Posted by kabus
    Thanks for the clarification. I post the "warning" because as a Breezy 5.10 user who has just upgraded to Dapper 6.06, I'm unaware of such an "intentional access" design in Dapper.

    Of course, any sys admin who prefers, or needs to set up multiple users WITHOUT access to each other's folders, then the workaround or setup is quite simple - by logging into each acount, and changing the folder "permissions".

  6. #6
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Security Warning: Users access to each other's home folders!!

    No, I think you're remembering it wrong. In Breezy, you could always read other users' files. I just tested it.

    This is nothing new.

    Notice how both group and other can read, even though the owner is the only one with write permissions.
    Attached Images Attached Images

  7. #7
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: Security Warning: Users access to each other's home folders!!

    Is this also true in the Ubuntu server version?

  8. #8
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Security Warning: Users access to each other's home folders!!

    Quote Originally Posted by wifiabc
    Is this also true in the Ubuntu server version?
    Yes.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •